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.001328/0.001328, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.00147/0.00147, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.385/1.385, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.2207/0.2207, allocations: 46.93 MB / 361.6 MB, free: 4.164 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.002302/0.002302, allocations: 75.88 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2967, allocations: 66.08 MB / 0.5615 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03303/0.3297, allocations: 30.65 MB / 0.5914 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02186/0.3516, allocations: 17.78 MB / 0.6088 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004107/0.352, allocations: 11.88 kB / 0.6088 GB, free: 3.684 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007247/0.3527, allocations: 218.6 kB / 0.609 GB, free: 3.469 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006565/0.3534, allocations: 286.3 kB / 0.6093 GB, free: 3.188 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01634/0.3697, allocations: 6.083 MB / 0.6152 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.3711, allocations: 0.8537 MB / 0.6161 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005121/0.3716, allocations: 200.9 kB / 0.6163 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01267/0.3843, allocations: 5.501 MB / 0.6216 GB, free: 6.465 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.3848, allocations: 251 kB / 0.6219 GB, free: 6.219 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.155e-05/0.3849, allocations: 31.94 kB / 0.6219 GB, free: 6.188 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01206/0.3969, allocations: 6.357 MB / 0.6281 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.3971, allocations: 87.73 kB / 0.6282 GB, free: 15.74 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.3974, allocations: 195.1 kB / 0.6284 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007994/0.4054, allocations: 3.858 MB / 0.6321 GB, free: 11.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4054, allocations: 0 / 0.6321 GB, free: 11.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4054, allocations: 0 / 0.6321 GB, free: 11.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.4054, allocations: 0 / 0.6321 GB, free: 11.68 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.002456/0.4079, allocations: 1.013 MB / 0.6331 GB, free: 10.63 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4079, allocations: 8.031 kB / 0.6331 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.504e-05/0.4079, allocations: 8.844 kB / 0.6331 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.48e-05/0.408, allocations: 62.73 kB / 0.6332 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.4097, allocations: 200.5 kB / 0.6334 GB, free: 10.35 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.4102, allocations: 296.8 kB / 0.6337 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.389e-05/0.4102, allocations: 25.03 kB / 0.6337 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.4102, allocations: 27.94 kB / 0.6337 GB, free: 9.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001243/0.4115, allocations: 492.1 kB / 0.6342 GB, free: 9.461 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4115, allocations: 0 / 0.6342 GB, free: 9.461 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.4115, allocations: 12 kB / 0.6342 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.4115, allocations: 4 kB / 0.6342 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.4127, allocations: 409.2 kB / 0.6346 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003031/0.4158, allocations: 2.245 MB / 0.6368 GB, free: 6.633 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.4169, allocations: 322.2 kB / 0.6371 GB, free: 6.309 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.4172, allocations: 111 kB / 0.6372 GB, free: 6.199 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03097/0.4482, allocations: 8.823 MB / 0.6458 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.4483, allocations: 38.56 kB / 0.6459 GB, free: 13.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.685e-06/0.4483, allocations: 0 / 0.6459 GB, free: 13.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002192/0.4505, allocations: 0.5166 MB / 0.6464 GB, free: 12.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.4505, allocations: 110.8 kB / 0.6465 GB, free: 12.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.451, allocations: 328.4 kB / 0.6468 GB, free: 12.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.451, allocations: 29.7 kB / 0.6468 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.4512, allocations: 212.1 kB / 0.647 GB, free: 12.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/0.4512, allocations: 59.52 kB / 0.6471 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.4513, allocations: 69.64 kB / 0.6471 GB, free: 11.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4515, allocations: 338.8 kB / 0.6475 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.4518, allocations: 91.92 kB / 0.6475 GB, free: 11.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.4521, allocations: 215.4 kB / 0.6478 GB, free: 11.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.4528, allocations: 294.1 kB / 0.648 GB, free: 10.92 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.4528, allocations: 0 / 0.648 GB, free: 10.92 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008478/0.4536, allocations: 343.9 kB / 0.6484 GB, free: 10.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.4537, allocations: 11.94 kB / 0.6484 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4537, allocations: 4 kB / 0.6484 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.4537, allocations: 4 kB / 0.6484 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.454, allocations: 71.89 kB / 0.6485 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.454, allocations: 8.406 kB / 0.6485 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.4543, allocations: 43.77 kB / 0.6485 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.4543, allocations: 19.98 kB / 0.6485 GB, free: 10.42 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.0001769/0.4545, allocations: 151.1 kB / 0.6487 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-05/0.4546, allocations: 35.7 kB / 0.6487 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/0.4562, allocations: 1.149 MB / 0.6498 GB, free: 9.074 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/0.4562, allocations: 15.97 kB / 0.6498 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4562, allocations: 0 / 0.6498 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4562, allocations: 0 / 0.6498 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007653/0.4569, allocations: 0.6514 MB / 0.6505 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.457, allocations: 3.938 kB / 0.6505 GB, free: 8.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.4572, allocations: 51.89 kB / 0.6505 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.4572, allocations: 3.938 kB / 0.6505 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.4572, allocations: 8 kB / 0.6505 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4572, allocations: 3.984 kB / 0.6505 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4572, allocations: 3.938 kB / 0.6505 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009543/0.4582, allocations: 0.6391 MB / 0.6512 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.013e-05/0.4582, allocations: 59.42 kB / 0.6512 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.788e-05/0.4583, allocations: 35.72 kB / 0.6513 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.4585, allocations: 15.98 kB / 0.6513 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.4586, allocations: 27.94 kB / 0.6513 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.4586, allocations: 8 kB / 0.6513 GB, free: 7.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004025/0.459, allocations: 346.8 kB / 0.6516 GB, free: 7.141 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.459, allocations: 0 / 0.6516 GB, free: 7.141 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002425/0.4615, allocations: 0.8539 MB / 0.6525 GB, free: 6.285 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.0051/0.4666, allocations: 2.077 MB / 0.6545 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008536/0.4674, allocations: 351 kB / 0.6548 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4674, allocations: 0.9375 kB / 0.6548 GB, free: 3.852 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.4678, allocations: 220.4 kB / 0.655 GB, free: 3.637 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4688, allocations: 188.3 kB / 0.6552 GB, free: 3.453 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007113/0.476, allocations: 4.3 MB / 0.6594 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.4765, allocations: 0.8875 MB / 0.6603 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003931/0.4769, allocations: 186 kB / 0.6605 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.4772, allocations: 187.4 kB / 0.6606 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.4772, allocations: 0 / 0.6606 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07576/0.5529, allocations: 41.08 MB / 0.7008 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.59, allocations: 7.938 kB / 0.7008 GB, free: 4.727 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.480833043984603] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 13.792600102024153 13.808140798 13.399554734 Calling exit ...