Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.001561/0.001561, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 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.001618/0.001618, allocations: 206.2 kB / 24.52 MB, free: 4.156 MB / 14.72 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 1.532/1.532, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 46.93 MB / 361.6 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 64.14 kB / 0.4969 GB, free: 7.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3378, allocations: 66.04 MB / 0.5614 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.0379/0.3757, allocations: 30.65 MB / 0.5914 GB, free: 5.695 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02314/0.3989, allocations: 17.78 MB / 0.6087 GB, free: 3.859 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003633/0.3992, allocations: 11.88 kB / 0.6087 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006952/0.3999, allocations: 214.6 kB / 0.6089 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006322/0.4006, allocations: 294.3 kB / 0.6092 GB, free: 3.348 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0177/0.4183, allocations: 6.08 MB / 0.6151 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.4199, allocations: 0.8576 MB / 0.616 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/0.4205, allocations: 196.9 kB / 0.6162 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01409/0.4345, allocations: 5.501 MB / 0.6215 GB, free: 6.629 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000613/0.4352, allocations: 255 kB / 0.6218 GB, free: 6.379 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.209e-05/0.4352, allocations: 32 kB / 0.6218 GB, free: 6.348 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01256/0.4478, allocations: 6.349 MB / 0.628 GB, free: 15.99 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.448, allocations: 91.67 kB / 0.6281 GB, free: 15.9 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003073/0.4483, allocations: 191.1 kB / 0.6283 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00874/0.457, allocations: 3.866 MB / 0.6321 GB, free: 11.84 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.457, allocations: 0 / 0.6321 GB, free: 11.84 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.457, allocations: 4 kB / 0.6321 GB, free: 11.84 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.457, allocations: 0 / 0.6321 GB, free: 11.84 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002825/0.4599, allocations: 1.001 MB / 0.633 GB, free: 10.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.4599, allocations: 12.03 kB / 0.6331 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.247e-05/0.4599, allocations: 12.78 kB / 0.6331 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.922e-05/0.46, allocations: 66.72 kB / 0.6331 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.4618, allocations: 200.5 kB / 0.6333 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005906/0.4624, allocations: 288.9 kB / 0.6336 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.4624, allocations: 21.03 kB / 0.6336 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.57e-05/0.4624, allocations: 27.94 kB / 0.6336 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.4638, allocations: 488.1 kB / 0.6341 GB, free: 9.633 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4638, allocations: 0 / 0.6341 GB, free: 9.633 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.4638, allocations: 12 kB / 0.6341 GB, free: 9.621 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.4638, allocations: 15.98 kB / 0.6341 GB, free: 9.605 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.4651, allocations: 413.2 kB / 0.6345 GB, free: 9.203 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/0.4686, allocations: 2.238 MB / 0.6367 GB, free: 6.797 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.4698, allocations: 326.2 kB / 0.637 GB, free: 6.469 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.4701, allocations: 99.59 kB / 0.6371 GB, free: 6.371 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03211/0.5022, allocations: 8.835 MB / 0.6458 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.5023, allocations: 30.56 kB / 0.6458 GB, free: 13.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.5023, allocations: 0 / 0.6458 GB, free: 13.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002283/0.5046, allocations: 0.5244 MB / 0.6463 GB, free: 12.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.5047, allocations: 114.7 kB / 0.6464 GB, free: 12.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005107/0.5052, allocations: 328.4 kB / 0.6467 GB, free: 12.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.5052, allocations: 25.7 kB / 0.6467 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000202/0.5054, allocations: 212.1 kB / 0.6469 GB, free: 12.24 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.641e-05/0.5055, allocations: 59.52 kB / 0.647 GB, free: 12.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.5056, allocations: 69.64 kB / 0.6471 GB, free: 12.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.5058, allocations: 334.8 kB / 0.6474 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.5061, allocations: 99.92 kB / 0.6475 GB, free: 11.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.5065, allocations: 203.4 kB / 0.6477 GB, free: 11.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007032/0.5072, allocations: 293.4 kB / 0.648 GB, free: 11.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5072, allocations: 4 kB / 0.648 GB, free: 11.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008301/0.5081, allocations: 340 kB / 0.6483 GB, free: 10.74 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.5081, allocations: 16 kB / 0.6483 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5081, allocations: 4 kB / 0.6483 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.5081, allocations: 4 kB / 0.6483 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.5085, allocations: 71.89 kB / 0.6484 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.5085, allocations: 11.92 kB / 0.6484 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.5088, allocations: 39.77 kB / 0.6484 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.5088, allocations: 12 kB / 0.6484 GB, free: 10.59 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 0.0002224/0.509, allocations: 161.8 kB / 0.6486 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.037e-05/0.5091, allocations: 39.7 kB / 0.6486 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.5109, allocations: 1.141 MB / 0.6497 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.057e-05/0.5109, allocations: 11.98 kB / 0.6498 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5109, allocations: 0 / 0.6498 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5109, allocations: 0 / 0.6498 GB, free: 9.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007956/0.5117, allocations: 0.6592 MB / 0.6504 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5117, allocations: 0 / 0.6504 GB, free: 8.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.512, allocations: 51.88 kB / 0.6504 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.512, allocations: 7.938 kB / 0.6505 GB, free: 8.457 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.512, allocations: 8 kB / 0.6505 GB, free: 8.449 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.512, allocations: 3.938 kB / 0.6505 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.512, allocations: 0 / 0.6505 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009994/0.513, allocations: 0.6352 MB / 0.6511 GB, free: 7.789 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.074e-05/0.5131, allocations: 59.42 kB / 0.6511 GB, free: 7.734 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-05/0.5132, allocations: 35.72 kB / 0.6512 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.5134, allocations: 15.97 kB / 0.6512 GB, free: 7.684 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/0.5135, allocations: 23.91 kB / 0.6512 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.5135, allocations: 15.98 kB / 0.6512 GB, free: 7.645 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004365/0.5139, allocations: 338.9 kB / 0.6516 GB, free: 7.312 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5139, allocations: 0 / 0.6516 GB, free: 7.312 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003136/0.5171, allocations: 0.8539 MB / 0.6524 GB, free: 6.457 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.005733/0.5228, allocations: 2.086 MB / 0.6544 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009365/0.5237, allocations: 352.7 kB / 0.6548 GB, free: 4.004 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.5238, allocations: 0 / 0.6548 GB, free: 4.004 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.5241, allocations: 204.5 kB / 0.655 GB, free: 3.805 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.5252, allocations: 207.7 kB / 0.6552 GB, free: 3.613 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007164/0.5324, allocations: 4.304 MB / 0.6594 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.5329, allocations: 0.8758 MB / 0.6602 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004014/0.5333, allocations: 183 kB / 0.6604 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.5336, allocations: 195.4 kB / 0.6606 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of SimCode: time 8.72e-07/0.5336, allocations: 0 / 0.6606 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0794/0.613, allocations: 41.08 MB / 0.7007 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.46, allocations: 8.062 kB / 0.7007 GB, free: 4.945 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.62187879800331] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 14.656326484982856 14.678230388 14.21729103 Calling exit ...