Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 170.3 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8824/0.8824, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7616/0.7616, allocations: 154.6 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.265e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4428/0.4429, allocations: 143.9 MB / 0.7586 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004082/0.4469, allocations: 4.222 MB / 0.7627 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004648/0.4474, allocations: 14.09 kB / 0.7627 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004679/0.4479, allocations: 136 kB / 0.7628 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.4495, allocations: 0.577 MB / 0.7634 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.4516, allocations: 0.8453 MB / 0.7642 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008606/0.4525, allocations: 0.5833 MB / 0.7648 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003246/0.4528, allocations: 164.4 kB / 0.7649 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.4543, allocations: 0.7437 MB / 0.7657 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005503/0.4548, allocations: 297.7 kB / 0.7659 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.4549, allocations: 18.41 kB / 0.766 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.4567, allocations: 0.8619 MB / 0.7668 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.4569, allocations: 92.09 kB / 0.7669 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.457, allocations: 85.02 kB / 0.767 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.4587, allocations: 0.7379 MB / 0.7677 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4587, allocations: 0.9375 kB / 0.7677 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4587, allocations: 3.938 kB / 0.7677 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.4588, allocations: 4 kB / 0.7677 GB, free: 5.766 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009305/0.4597, allocations: 0.5142 MB / 0.7682 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.4597, allocations: 10.88 kB / 0.7682 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.4598, allocations: 53.66 kB / 0.7683 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004666/0.4603, allocations: 85.52 kB / 0.7683 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.4606, allocations: 247.8 kB / 0.7686 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4607, allocations: 13.34 kB / 0.7686 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.181e-05/0.4607, allocations: 20.03 kB / 0.7686 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.4611, allocations: 283.8 kB / 0.7689 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4611, allocations: 2.25 kB / 0.7689 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.4611, allocations: 5.625 kB / 0.7689 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.4611, allocations: 4.969 kB / 0.7689 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.4615, allocations: 209.3 kB / 0.7691 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.4627, allocations: 1.158 MB / 0.7702 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.4629, allocations: 173.4 kB / 0.7704 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.4631, allocations: 113.6 kB / 0.7705 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004237/0.4635, allocations: 97.09 kB / 0.7706 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.4635, allocations: 46.7 kB / 0.7706 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 3.968e-06/0.4635, allocations: 1.094 kB / 0.7706 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.000562/0.4641, allocations: 277.1 kB / 0.7709 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.4641, allocations: 158.2 kB / 0.7711 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.4644, allocations: 292.6 kB / 0.7713 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.4644, allocations: 31.8 kB / 0.7714 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.4644, allocations: 155.3 kB / 0.7715 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.4645, allocations: 44.41 kB / 0.7716 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.4645, allocations: 41.47 kB / 0.7716 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.4646, allocations: 337 kB / 0.7719 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.4647, allocations: 70.25 kB / 0.772 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.4649, allocations: 254.1 kB / 0.7722 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.4651, allocations: 211.6 kB / 0.7724 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4651, allocations: 0 / 0.7724 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003432/0.4655, allocations: 252 kB / 0.7727 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.4655, allocations: 6.766 kB / 0.7727 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.4655, allocations: 2.594 kB / 0.7727 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4655, allocations: 2.594 kB / 0.7727 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.4657, allocations: 39.97 kB / 0.7727 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.4657, allocations: 11.42 kB / 0.7727 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.4658, allocations: 30.42 kB / 0.7728 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.4658, allocations: 9.531 kB / 0.7728 GB, free: 2.133 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.434e-05/0.4659, allocations: 156.7 kB / 0.7729 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/0.466, allocations: 29.86 kB / 0.7729 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.4663, allocations: 186.9 kB / 0.7731 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4663, allocations: 3.266 kB / 0.7731 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4664, allocations: 1.391 kB / 0.7731 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.4664, allocations: 6.781 kB / 0.7731 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006854/0.467, allocations: 0.8047 MB / 0.7739 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4671, allocations: 7.75 kB / 0.7739 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.705e-05/0.4671, allocations: 21.02 kB / 0.7739 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4671, allocations: 3.031 kB / 0.7739 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.4672, allocations: 7.266 kB / 0.774 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.4672, allocations: 9.609 kB / 0.774 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.4672, allocations: 1.188 kB / 0.774 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.4675, allocations: 335.3 kB / 0.7743 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.4676, allocations: 44.73 kB / 0.7743 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.4676, allocations: 3.75 kB / 0.7743 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.4677, allocations: 13.89 kB / 0.7743 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.4677, allocations: 13.52 kB / 0.7744 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.4678, allocations: 3.688 kB / 0.7744 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001798/0.4679, allocations: 234.1 kB / 0.7746 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4679, allocations: 0 / 0.7746 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004592/0.4684, allocations: 99.83 kB / 0.7747 GB, free: 0.7539 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008147/0.4692, allocations: 0.9827 MB / 0.7756 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003197/0.4695, allocations: 146.2 kB / 0.7758 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4695, allocations: 0 / 0.7758 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.4696, allocations: 57.22 kB / 0.7758 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.4701, allocations: 138.4 kB / 0.776 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.4728, allocations: 2.747 MB / 0.7786 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.4729, allocations: 152.7 kB / 0.7788 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.4731, allocations: 58.72 kB / 0.7788 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.654e-05/0.4732, allocations: 74.56 kB / 0.7789 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.212e-06/0.4732, allocations: 0 / 0.7789 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.501, allocations: 9.792 MB / 0.7885 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.204/7.705, allocations: 9.406 kB / 0.7885 GB, free: 11.76 MB / 0.6511 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_SpecificEntropy.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.407149094156921] Failed to read output from testmodel.py, exit status != 0: 7.791507434099913 7.800621348 7.339900556 Calling exit ...