Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 214.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.94 MB / 361.6 MB, free: 3.988 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 76.2 kB / 0.4969 GB, free: 7.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3074, allocations: 66.09 MB / 0.5614 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03327/0.3406, allocations: 27.7 MB / 0.5885 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02076/0.3614, allocations: 15.65 MB / 0.6038 GB, free: 8.723 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003585/0.3617, allocations: 19.81 kB / 0.6038 GB, free: 8.703 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006862/0.3624, allocations: 194.7 kB / 0.604 GB, free: 8.512 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006732/0.3631, allocations: 290.3 kB / 0.6043 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01555/0.3787, allocations: 5.993 MB / 0.6101 GB, free: 2.238 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001494/0.3802, allocations: 0.8538 MB / 0.6109 GB, free: 1.383 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004331/0.3806, allocations: 200.9 kB / 0.6111 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01411/0.3947, allocations: 5.478 MB / 0.6165 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000636/0.3953, allocations: 258.9 kB / 0.6167 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.3954, allocations: 32 kB / 0.6168 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01304/0.4085, allocations: 6.295 MB / 0.6229 GB, free: 5.035 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.4087, allocations: 99.59 kB / 0.623 GB, free: 4.938 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003744/0.4091, allocations: 155.3 kB / 0.6231 GB, free: 4.785 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.4198, allocations: 3.858 MB / 0.6269 GB, free: 0.918 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4198, allocations: 0 / 0.6269 GB, free: 0.918 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4198, allocations: 4 kB / 0.6269 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.4198, allocations: 0 / 0.6269 GB, free: 0.9141 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.002976/0.4228, allocations: 1.001 MB / 0.6279 GB, free: 15.88 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.4228, allocations: 12.03 kB / 0.6279 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.642e-05/0.4229, allocations: 8.828 kB / 0.6279 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.041e-05/0.423, allocations: 66.72 kB / 0.628 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.4248, allocations: 204.5 kB / 0.6282 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/0.4254, allocations: 280.9 kB / 0.6284 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.4254, allocations: 25.03 kB / 0.6285 GB, free: 15.26 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.4255, allocations: 31.88 kB / 0.6285 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.4269, allocations: 0.6312 MB / 0.6291 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.4269, allocations: 3.938 kB / 0.6291 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.4269, allocations: 12 kB / 0.6291 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.427, allocations: 11.98 kB / 0.6291 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.4282, allocations: 413.2 kB / 0.6295 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003041/0.4312, allocations: 1.828 MB / 0.6313 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.4324, allocations: 314.3 kB / 0.6316 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.4327, allocations: 105.1 kB / 0.6317 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03025/0.463, allocations: 8.858 MB / 0.6404 GB, free: 2.891 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.463, allocations: 34.56 kB / 0.6404 GB, free: 2.848 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.766e-06/0.463, allocations: 0 / 0.6404 GB, free: 2.848 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002394/0.4654, allocations: 0.5282 MB / 0.6409 GB, free: 2.312 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.4655, allocations: 110.8 kB / 0.641 GB, free: 2.18 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005709/0.4661, allocations: 324.4 kB / 0.6413 GB, free: 1.848 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.092e-05/0.4661, allocations: 29.7 kB / 0.6414 GB, free: 1.812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.4664, allocations: 212.1 kB / 0.6416 GB, free: 1.602 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.53e-05/0.4665, allocations: 51.59 kB / 0.6416 GB, free: 1.551 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.4666, allocations: 69.64 kB / 0.6417 GB, free: 1.477 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002351/0.4669, allocations: 334.8 kB / 0.642 GB, free: 1.141 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.4672, allocations: 95.92 kB / 0.6421 GB, free: 1.047 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.4677, allocations: 274.7 kB / 0.6424 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006764/0.4683, allocations: 287.9 kB / 0.6426 GB, free: 392 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4684, allocations: 4 kB / 0.6426 GB, free: 388 kB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009064/0.4693, allocations: 337.2 kB / 0.643 GB, free: 44 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.4693, allocations: 14.28 kB / 0.643 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.4693, allocations: 4 kB / 0.643 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.4693, allocations: 7.938 kB / 0.643 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.4696, allocations: 67.89 kB / 0.643 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.4696, allocations: 8 kB / 0.643 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.4699, allocations: 59.91 kB / 0.6431 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.47, allocations: 16 kB / 0.6431 GB, free: 15.87 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.0001985/0.4702, allocations: 153.8 kB / 0.6433 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.4703, allocations: 35.7 kB / 0.6433 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.472, allocations: 1.149 MB / 0.6444 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.472, allocations: 15.97 kB / 0.6444 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.472, allocations: 0 / 0.6444 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.472, allocations: 0 / 0.6444 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009066/0.4729, allocations: 0.6125 MB / 0.645 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.4729, allocations: 0 / 0.645 GB, free: 13.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.4731, allocations: 47.95 kB / 0.6451 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.4731, allocations: 11.92 kB / 0.6451 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.4732, allocations: 4 kB / 0.6451 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4732, allocations: 0 / 0.6451 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4732, allocations: 0 / 0.6451 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4742, allocations: 0.6391 MB / 0.6457 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.4743, allocations: 59.47 kB / 0.6458 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.005e-05/0.4744, allocations: 31.72 kB / 0.6458 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.4746, allocations: 15.98 kB / 0.6458 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.4747, allocations: 23.95 kB / 0.6458 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.4747, allocations: 4 kB / 0.6459 GB, free: 12.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004441/0.4751, allocations: 350.8 kB / 0.6462 GB, free: 12.65 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4751, allocations: 0 / 0.6462 GB, free: 12.65 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002742/0.4779, allocations: 0.8539 MB / 0.647 GB, free: 11.79 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.005659/0.4835, allocations: 2.08 MB / 0.6491 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000865/0.4844, allocations: 355.9 kB / 0.6494 GB, free: 9.344 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4844, allocations: 0.9375 kB / 0.6494 GB, free: 9.344 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003869/0.4848, allocations: 216.5 kB / 0.6496 GB, free: 9.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4858, allocations: 187.3 kB / 0.6498 GB, free: 8.953 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007213/0.493, allocations: 4.308 MB / 0.654 GB, free: 4.469 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.4933, allocations: 276.8 kB / 0.6542 GB, free: 4.168 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000403/0.4937, allocations: 191 kB / 0.6544 GB, free: 3.984 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.494, allocations: 191.4 kB / 0.6546 GB, free: 3.797 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.494, allocations: 0 / 0.6546 GB, free: 3.797 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08252/0.5765, allocations: 41.45 MB / 0.6951 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.76, allocations: 12 kB / 0.6951 GB, free: 10.52 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.65560333104804] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 13.979103825986385 14.001661296 13.577296316 Calling exit ...