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.001286/0.001286, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001451/0.001451, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 7.77 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.2523/0.2523, allocations: 46.97 MB / 361.7 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] 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.001933/0.001933, allocations: 71.91 kB / 0.4969 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3406, allocations: 66.02 MB / 0.5614 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03552/0.3762, allocations: 27.69 MB / 0.5884 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02304/0.3992, allocations: 15.65 MB / 0.6037 GB, free: 8.762 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005625/0.3998, allocations: 11.88 kB / 0.6037 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008486/0.4006, allocations: 206.7 kB / 0.6039 GB, free: 8.547 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000723/0.4013, allocations: 282.3 kB / 0.6042 GB, free: 8.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01884/0.4202, allocations: 6.007 MB / 0.61 GB, free: 2.266 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.4215, allocations: 0.8498 MB / 0.6108 GB, free: 1.414 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004074/0.4219, allocations: 204.9 kB / 0.611 GB, free: 1.211 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01316/0.4351, allocations: 5.485 MB / 0.6164 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005972/0.4357, allocations: 251 kB / 0.6166 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.002e-05/0.4357, allocations: 28 kB / 0.6167 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01325/0.449, allocations: 6.299 MB / 0.6228 GB, free: 5.062 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.4493, allocations: 95.61 kB / 0.6229 GB, free: 4.969 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003239/0.4496, allocations: 159.4 kB / 0.6231 GB, free: 4.812 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.4602, allocations: 3.851 MB / 0.6268 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.4602, allocations: 0 / 0.6268 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4602, allocations: 0 / 0.6268 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.4602, allocations: 0 / 0.6268 GB, free: 0.9531 MB / 462.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.003813/0.464, allocations: 1.005 MB / 0.6278 GB, free: 15.91 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/0.4641, allocations: 16.03 kB / 0.6278 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.711e-05/0.4641, allocations: 8.828 kB / 0.6278 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.627e-05/0.4642, allocations: 62.73 kB / 0.6279 GB, free: 15.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/0.466, allocations: 200.5 kB / 0.6281 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.4665, allocations: 296.8 kB / 0.6284 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.4666, allocations: 21.59 kB / 0.6284 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.4666, allocations: 24 kB / 0.6284 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.468, allocations: 0.635 MB / 0.629 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.468, allocations: 3.938 kB / 0.629 GB, free: 14.55 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.4681, allocations: 12 kB / 0.629 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.4681, allocations: 11.98 kB / 0.6291 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.4693, allocations: 409.2 kB / 0.6294 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002986/0.4723, allocations: 1.824 MB / 0.6312 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.4735, allocations: 322.2 kB / 0.6315 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.4738, allocations: 104.7 kB / 0.6316 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03067/0.5045, allocations: 8.855 MB / 0.6403 GB, free: 2.926 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.5045, allocations: 42.55 kB / 0.6403 GB, free: 2.875 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.033e-06/0.5045, allocations: 0 / 0.6403 GB, free: 2.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002181/0.5067, allocations: 0.5204 MB / 0.6408 GB, free: 2.348 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.1e-05/0.5068, allocations: 110.8 kB / 0.6409 GB, free: 2.215 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.5072, allocations: 324.4 kB / 0.6412 GB, free: 1.883 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.5072, allocations: 29.7 kB / 0.6413 GB, free: 1.848 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.5074, allocations: 212.1 kB / 0.6415 GB, free: 1.637 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.5075, allocations: 63.52 kB / 0.6415 GB, free: 1.574 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.5076, allocations: 61.66 kB / 0.6416 GB, free: 1.508 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.5077, allocations: 342.8 kB / 0.6419 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.5081, allocations: 87.94 kB / 0.642 GB, free: 1.078 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004663/0.5085, allocations: 266.7 kB / 0.6423 GB, free: 0.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007188/0.5092, allocations: 296.7 kB / 0.6425 GB, free: 424 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.5092, allocations: 0 / 0.6425 GB, free: 424 kB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008116/0.5101, allocations: 341 kB / 0.6429 GB, free: 76 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.5101, allocations: 7.938 kB / 0.6429 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.5101, allocations: 4.469 kB / 0.6429 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/0.5101, allocations: 15.94 kB / 0.6429 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.5104, allocations: 68 kB / 0.643 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.5104, allocations: 4 kB / 0.643 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.5107, allocations: 47.72 kB / 0.643 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.5107, allocations: 19.98 kB / 0.643 GB, free: 15.91 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.000181/0.5109, allocations: 145.8 kB / 0.6432 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.327e-05/0.511, allocations: 31.81 kB / 0.6432 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001671/0.5127, allocations: 1.149 MB / 0.6443 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.5127, allocations: 19.91 kB / 0.6443 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5127, allocations: 0 / 0.6443 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5127, allocations: 4 kB / 0.6443 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007764/0.5135, allocations: 0.6203 MB / 0.6449 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.5135, allocations: 0 / 0.6449 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.5137, allocations: 47.78 kB / 0.645 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.5137, allocations: 0 / 0.645 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.5137, allocations: 8 kB / 0.645 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.5137, allocations: 7.875 kB / 0.645 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5138, allocations: 4 kB / 0.645 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.5148, allocations: 0.6391 MB / 0.6456 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.395e-05/0.5149, allocations: 59.45 kB / 0.6457 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/0.515, allocations: 27.78 kB / 0.6457 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.5152, allocations: 15.92 kB / 0.6457 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.909e-05/0.5153, allocations: 23.95 kB / 0.6458 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.5153, allocations: 12 kB / 0.6458 GB, free: 13.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000426/0.5157, allocations: 342.9 kB / 0.6461 GB, free: 12.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5157, allocations: 0 / 0.6461 GB, free: 12.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003068/0.5188, allocations: 0.8539 MB / 0.6469 GB, free: 11.83 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.00623/0.525, allocations: 2.086 MB / 0.649 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.526, allocations: 351.6 kB / 0.6493 GB, free: 9.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.526, allocations: 3.938 kB / 0.6493 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.5265, allocations: 206.7 kB / 0.6495 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.5277, allocations: 215.3 kB / 0.6497 GB, free: 8.973 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008306/0.536, allocations: 4.3 MB / 0.6539 GB, free: 4.492 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.5362, allocations: 272.8 kB / 0.6542 GB, free: 4.195 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004275/0.5367, allocations: 192.5 kB / 0.6543 GB, free: 4.012 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.5369, allocations: 195.4 kB / 0.6545 GB, free: 3.82 MB / 494.1 MB Notification: Performance of SimCode: time 1.333e-06/0.5369, allocations: 0 / 0.6545 GB, free: 3.82 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08589/0.6228, allocations: 41.44 MB / 0.695 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.63, allocations: 4.062 kB / 0.695 GB, free: 10.64 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.865673558902927] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 14.830023151938803 14.859658853 14.393637557 Calling exit ...