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.001817/0.001817, allocations: 121 kB / 18.5 MB, free: 4.562 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.002248/0.002248, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.512/1.512, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2391/0.2391, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.001922/0.001922, allocations: 67.89 kB / 0.4916 GB, free: 7.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1422, allocations: 66 MB / 0.5561 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03707/0.1793, allocations: 30.38 MB / 0.5857 GB, free: 7.312 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3312/0.5105, allocations: 17.69 MB / 0.603 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005461/0.511, allocations: 16.09 kB / 0.603 GB, free: 3.695 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008806/0.5119, allocations: 218.1 kB / 0.6032 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007459/0.5127, allocations: 282.2 kB / 0.6035 GB, free: 3.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0206/0.5333, allocations: 6.062 MB / 0.6094 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.535, allocations: 0.8368 MB / 0.6102 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004739/0.5355, allocations: 210.6 kB / 0.6104 GB, free: 3.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0127/0.5482, allocations: 5.477 MB / 0.6158 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006589/0.5488, allocations: 262.3 kB / 0.616 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.5489, allocations: 33.72 kB / 0.6161 GB, free: 1.605 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01489/0.5638, allocations: 6.338 MB / 0.6223 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.564, allocations: 94.78 kB / 0.6224 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.5644, allocations: 193.5 kB / 0.6225 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.5778, allocations: 3.869 MB / 0.6263 GB, free: 14.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.5778, allocations: 0 / 0.6263 GB, free: 14.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5778, allocations: 0 / 0.6263 GB, free: 14.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.5778, allocations: 4 kB / 0.6263 GB, free: 14.44 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.00389/0.5817, allocations: 1.069 MB / 0.6274 GB, free: 13.61 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.5818, allocations: 9.031 kB / 0.6274 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.692e-05/0.5818, allocations: 11.69 kB / 0.6274 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.154e-05/0.5819, allocations: 63.31 kB / 0.6274 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.5837, allocations: 206.3 kB / 0.6276 GB, free: 13.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/0.5843, allocations: 354.7 kB / 0.628 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/0.5844, allocations: 24.66 kB / 0.628 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.896e-05/0.5844, allocations: 29.22 kB / 0.628 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.5858, allocations: 484.7 kB / 0.6285 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.5858, allocations: 5.312 kB / 0.6285 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.5858, allocations: 16.11 kB / 0.6285 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.5859, allocations: 6.875 kB / 0.6285 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.5872, allocations: 405.1 kB / 0.6289 GB, free: 12.59 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.5908, allocations: 2.432 MB / 0.6313 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.5922, allocations: 319.2 kB / 0.6316 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.5925, allocations: 103.6 kB / 0.6317 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03801/0.6305, allocations: 18.39 MB / 0.6496 GB, free: 9.219 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.6306, allocations: 34.56 kB / 0.6497 GB, free: 9.176 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.555e-06/0.6306, allocations: 0 / 0.6497 GB, free: 9.176 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.00224/0.6328, allocations: 0.5271 MB / 0.6502 GB, free: 8.645 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.6329, allocations: 106.8 kB / 0.6503 GB, free: 8.516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.6333, allocations: 324.4 kB / 0.6506 GB, free: 8.195 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.6333, allocations: 33.7 kB / 0.6506 GB, free: 8.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.6335, allocations: 208 kB / 0.6508 GB, free: 7.949 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.914e-05/0.6335, allocations: 51.58 kB / 0.6509 GB, free: 7.898 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.6337, allocations: 69.64 kB / 0.6509 GB, free: 7.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.6338, allocations: 334.8 kB / 0.6513 GB, free: 7.488 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.6341, allocations: 91.92 kB / 0.6514 GB, free: 7.398 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.6345, allocations: 223.2 kB / 0.6516 GB, free: 7.125 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/0.6352, allocations: 286.9 kB / 0.6518 GB, free: 6.797 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.6352, allocations: 4 kB / 0.6518 GB, free: 6.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008547/0.6361, allocations: 342 kB / 0.6522 GB, free: 6.453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.6361, allocations: 8 kB / 0.6522 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6361, allocations: 8.406 kB / 0.6522 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.6361, allocations: 8 kB / 0.6522 GB, free: 6.43 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.6364, allocations: 73.33 kB / 0.6523 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.6364, allocations: 7.984 kB / 0.6523 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.6367, allocations: 47.66 kB / 0.6523 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.6367, allocations: 16 kB / 0.6523 GB, free: 6.289 MB / 478.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.0001893/0.6369, allocations: 156 kB / 0.6525 GB, free: 6.129 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.637, allocations: 35.81 kB / 0.6525 GB, free: 6.094 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.6386, allocations: 1.104 MB / 0.6536 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.6386, allocations: 15.98 kB / 0.6536 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6386, allocations: 0 / 0.6536 GB, free: 4.977 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.6386, allocations: 4 kB / 0.6536 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007512/0.6394, allocations: 0.6746 MB / 0.6543 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.6394, allocations: 0 / 0.6543 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.6396, allocations: 47.94 kB / 0.6543 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.6396, allocations: 0 / 0.6543 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.6396, allocations: 11.94 kB / 0.6543 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.6396, allocations: 0 / 0.6543 GB, free: 4.195 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.6396, allocations: 11.98 kB / 0.6543 GB, free: 4.184 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009611/0.6406, allocations: 0.6196 MB / 0.6549 GB, free: 3.543 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.6407, allocations: 132.6 kB / 0.6551 GB, free: 3.395 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.6408, allocations: 31.7 kB / 0.6551 GB, free: 3.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.641, allocations: 19.98 kB / 0.6551 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.6411, allocations: 23.97 kB / 0.6551 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.6411, allocations: 4 kB / 0.6551 GB, free: 3.316 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004087/0.6415, allocations: 338.9 kB / 0.6555 GB, free: 2.988 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6415, allocations: 0 / 0.6555 GB, free: 2.988 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003242/0.6448, allocations: 0.8617 MB / 0.6563 GB, free: 2.125 MB / 478.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.006138/0.6509, allocations: 2.078 MB / 0.6583 GB, free: 116 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009779/0.6519, allocations: 343.8 kB / 0.6587 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6519, allocations: 0 / 0.6587 GB, free: 15.78 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.6523, allocations: 204.5 kB / 0.6589 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.6533, allocations: 185.2 kB / 0.659 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007845/0.6612, allocations: 4.287 MB / 0.6632 GB, free: 10.96 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.6617, allocations: 0.8835 MB / 0.6641 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004157/0.6621, allocations: 189.1 kB / 0.6643 GB, free: 9.863 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.6624, allocations: 195.4 kB / 0.6645 GB, free: 9.672 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6624, allocations: 0 / 0.6645 GB, free: 9.672 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07672/0.7391, allocations: 40.54 MB / 0.704 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.72, allocations: 23.09 kB / 0.7041 GB, free: 1.277 MB / 0.5137 GB " [Timeout remaining time 648] (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: 14.902080169995315] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 11.880508464993909 11.900117814 11.316098235 Calling exit ...