Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001336/0.001336, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.0015/0.0015, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.482/1.482, allocations: 230.5 MB / 258.2 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2426/0.2426, allocations: 46.93 MB / 361.6 MB, free: 4.191 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-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 75.88 kB / 0.497 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3502, allocations: 66.08 MB / 0.5615 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03661/0.3868, allocations: 30.65 MB / 0.5914 GB, free: 5.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02209/0.4089, allocations: 17.79 MB / 0.6088 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000381/0.4093, allocations: 11.88 kB / 0.6088 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007298/0.41, allocations: 218.6 kB / 0.609 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007091/0.4107, allocations: 282.3 kB / 0.6093 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01748/0.4282, allocations: 6.086 MB / 0.6152 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.4295, allocations: 0.8537 MB / 0.6161 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.4299, allocations: 196.9 kB / 0.6163 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01155/0.4414, allocations: 5.497 MB / 0.6216 GB, free: 6.484 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.442, allocations: 262.9 kB / 0.6219 GB, free: 6.227 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.174e-05/0.4421, allocations: 32 kB / 0.6219 GB, free: 6.195 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01303/0.4551, allocations: 6.353 MB / 0.6281 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.4553, allocations: 87.73 kB / 0.6282 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003217/0.4556, allocations: 199.1 kB / 0.6284 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009739/0.4653, allocations: 3.858 MB / 0.6322 GB, free: 11.69 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4653, allocations: 0 / 0.6322 GB, free: 11.69 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4653, allocations: 0 / 0.6322 GB, free: 11.69 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.4654, allocations: 0 / 0.6322 GB, free: 11.69 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.003041/0.4684, allocations: 1.009 MB / 0.6331 GB, free: 10.64 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.4684, allocations: 11.97 kB / 0.6332 GB, free: 10.63 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.546e-05/0.4685, allocations: 62.73 kB / 0.6332 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.4703, allocations: 204.5 kB / 0.6334 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.4708, allocations: 285 kB / 0.6337 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.4708, allocations: 24.97 kB / 0.6337 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.4709, allocations: 28.12 kB / 0.6337 GB, free: 10 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.4721, allocations: 492.1 kB / 0.6342 GB, free: 9.484 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4721, allocations: 7.938 kB / 0.6342 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.4722, allocations: 12 kB / 0.6342 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4722, allocations: 8 kB / 0.6342 GB, free: 9.457 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.4734, allocations: 417.2 kB / 0.6346 GB, free: 9.051 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/0.4766, allocations: 2.23 MB / 0.6368 GB, free: 6.652 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.4778, allocations: 322.2 kB / 0.6371 GB, free: 6.328 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.4781, allocations: 104.8 kB / 0.6372 GB, free: 6.223 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.029/0.5071, allocations: 8.831 MB / 0.6458 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.5071, allocations: 34.56 kB / 0.6459 GB, free: 13.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.434e-06/0.5071, allocations: 0 / 0.6459 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.00203/0.5092, allocations: 0.5205 MB / 0.6464 GB, free: 12.81 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.012e-05/0.5092, allocations: 106.8 kB / 0.6465 GB, free: 12.68 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000435/0.5097, allocations: 328.4 kB / 0.6468 GB, free: 12.35 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.5097, allocations: 29.7 kB / 0.6468 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.5099, allocations: 212.1 kB / 0.647 GB, free: 12.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.5099, allocations: 55.53 kB / 0.6471 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.51, allocations: 69.64 kB / 0.6471 GB, free: 11.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5102, allocations: 342.8 kB / 0.6475 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.5105, allocations: 95.86 kB / 0.6476 GB, free: 11.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.5108, allocations: 207.4 kB / 0.6478 GB, free: 11.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000618/0.5115, allocations: 300.5 kB / 0.648 GB, free: 10.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5115, allocations: 4 kB / 0.648 GB, free: 10.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007685/0.5122, allocations: 341.2 kB / 0.6484 GB, free: 10.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.5122, allocations: 4 kB / 0.6484 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.5123, allocations: 7.938 kB / 0.6484 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.5123, allocations: 4 kB / 0.6484 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.5125, allocations: 71.89 kB / 0.6485 GB, free: 10.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.5126, allocations: 7.938 kB / 0.6485 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.5128, allocations: 52.03 kB / 0.6485 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.5128, allocations: 8 kB / 0.6485 GB, free: 10.44 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.0001813/0.513, allocations: 161.8 kB / 0.6487 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.5131, allocations: 39.75 kB / 0.6487 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.5147, allocations: 1.145 MB / 0.6498 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.217e-05/0.5147, allocations: 15.97 kB / 0.6498 GB, free: 9.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5147, allocations: 4 kB / 0.6498 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5147, allocations: 0 / 0.6498 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007948/0.5155, allocations: 0.6553 MB / 0.6505 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5155, allocations: 0 / 0.6505 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.5157, allocations: 55.89 kB / 0.6505 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.5157, allocations: 0 / 0.6505 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.5157, allocations: 11.92 kB / 0.6506 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.5157, allocations: 0 / 0.6506 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5157, allocations: 4 kB / 0.6506 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009236/0.5167, allocations: 0.6352 MB / 0.6512 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.5167, allocations: 55.48 kB / 0.6512 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.692e-05/0.5168, allocations: 27.72 kB / 0.6513 GB, free: 7.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.517, allocations: 15.98 kB / 0.6513 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.744e-05/0.5171, allocations: 19.95 kB / 0.6513 GB, free: 7.523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.5171, allocations: 12 kB / 0.6513 GB, free: 7.512 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004218/0.5175, allocations: 342.8 kB / 0.6516 GB, free: 7.176 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5175, allocations: 7.938 kB / 0.6516 GB, free: 7.168 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002732/0.5202, allocations: 0.8539 MB / 0.6525 GB, free: 6.312 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.004933/0.5252, allocations: 2.084 MB / 0.6545 GB, free: 4.199 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008732/0.5261, allocations: 352.2 kB / 0.6548 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5261, allocations: 0 / 0.6548 GB, free: 3.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.5264, allocations: 209.4 kB / 0.655 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.5274, allocations: 193.7 kB / 0.6552 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006547/0.534, allocations: 4.308 MB / 0.6594 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004831/0.5345, allocations: 0.872 MB / 0.6603 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003799/0.5348, allocations: 182 kB / 0.6605 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.5351, allocations: 191.4 kB / 0.6606 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of SimCode: time 6.62e-07/0.5351, allocations: 0 / 0.6606 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08314/0.6182, allocations: 40.93 MB / 0.7006 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/11.14, allocations: 15.38 kB / 0.7006 GB, free: 4.867 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201597 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.101318329107016] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 11.26109737670049 11.285908367 10.815385954 Calling exit ...