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.001378/0.001378, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002023/0.002023, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.522/1.522, allocations: 230.5 MB / 258.2 MB, free: 7.988 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.2381/0.2381, allocations: 46.93 MB / 361.6 MB, free: 4.176 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.00246/0.00246, allocations: 79.86 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3935, allocations: 66.09 MB / 0.5615 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03727/0.4308, allocations: 30.65 MB / 0.5914 GB, free: 5.531 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02303/0.4538, allocations: 17.79 MB / 0.6088 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005352/0.4543, allocations: 11.88 kB / 0.6088 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008456/0.4552, allocations: 218.5 kB / 0.609 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007814/0.456, allocations: 290.4 kB / 0.6093 GB, free: 3.176 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01799/0.474, allocations: 6.083 MB / 0.6152 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.4754, allocations: 0.8537 MB / 0.6161 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.4758, allocations: 200.9 kB / 0.6163 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01157/0.4874, allocations: 5.497 MB / 0.6216 GB, free: 6.457 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.4879, allocations: 255 kB / 0.6219 GB, free: 6.207 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.488, allocations: 32 kB / 0.6219 GB, free: 6.176 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/0.5011, allocations: 6.353 MB / 0.6281 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.5013, allocations: 95.61 kB / 0.6282 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003363/0.5016, allocations: 187.2 kB / 0.6284 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.5127, allocations: 3.858 MB / 0.6321 GB, free: 11.67 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.5127, allocations: 7.984 kB / 0.6322 GB, free: 11.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5127, allocations: 0 / 0.6322 GB, free: 11.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.5127, allocations: 0 / 0.6322 GB, free: 11.66 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.00314/0.5159, allocations: 1.009 MB / 0.6331 GB, free: 10.62 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/0.5159, allocations: 12.03 kB / 0.6332 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.667e-05/0.516, allocations: 62.72 kB / 0.6332 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.5178, allocations: 208.5 kB / 0.6334 GB, free: 10.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.5184, allocations: 280.9 kB / 0.6337 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.5184, allocations: 21.03 kB / 0.6337 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.76e-05/0.5185, allocations: 32.12 kB / 0.6337 GB, free: 9.98 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.5197, allocations: 488.1 kB / 0.6342 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5197, allocations: 0 / 0.6342 GB, free: 9.465 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.5198, allocations: 12 kB / 0.6342 GB, free: 9.453 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.5198, allocations: 8 kB / 0.6342 GB, free: 9.445 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.521, allocations: 417.2 kB / 0.6346 GB, free: 9.039 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.5243, allocations: 2.245 MB / 0.6368 GB, free: 6.625 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.5254, allocations: 322.2 kB / 0.6371 GB, free: 6.301 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.5257, allocations: 100.8 kB / 0.6372 GB, free: 6.199 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03003/0.5558, allocations: 8.827 MB / 0.6458 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/0.5558, allocations: 38.56 kB / 0.6459 GB, free: 13.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.983e-06/0.5558, allocations: 3.938 kB / 0.6459 GB, free: 13.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002139/0.558, allocations: 0.5204 MB / 0.6464 GB, free: 12.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/0.558, allocations: 114.8 kB / 0.6465 GB, free: 12.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004297/0.5585, allocations: 324.4 kB / 0.6468 GB, free: 12.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.5585, allocations: 29.7 kB / 0.6468 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.5587, allocations: 204.1 kB / 0.647 GB, free: 12.08 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.5587, allocations: 55.52 kB / 0.6471 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.5588, allocations: 73.64 kB / 0.6471 GB, free: 11.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.559, allocations: 338.8 kB / 0.6475 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.5593, allocations: 91.92 kB / 0.6476 GB, free: 11.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.5596, allocations: 207.4 kB / 0.6478 GB, free: 11.26 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/0.5603, allocations: 304.2 kB / 0.648 GB, free: 10.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5603, allocations: 0 / 0.648 GB, free: 10.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007724/0.561, allocations: 341 kB / 0.6484 GB, free: 10.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.561, allocations: 8 kB / 0.6484 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.5611, allocations: 3.938 kB / 0.6484 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.5611, allocations: 8 kB / 0.6484 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.5614, allocations: 68.36 kB / 0.6485 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.5614, allocations: 11.94 kB / 0.6485 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.5617, allocations: 47.75 kB / 0.6485 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.5617, allocations: 16 kB / 0.6485 GB, free: 10.41 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.000204/0.5619, allocations: 149.8 kB / 0.6487 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/0.562, allocations: 35.77 kB / 0.6487 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.5637, allocations: 1.16 MB / 0.6498 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/0.5637, allocations: 11.98 kB / 0.6498 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5637, allocations: 0 / 0.6498 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5637, allocations: 3.938 kB / 0.6498 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007818/0.5645, allocations: 0.6514 MB / 0.6505 GB, free: 8.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5645, allocations: 4 kB / 0.6505 GB, free: 8.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.5647, allocations: 47.94 kB / 0.6505 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5647, allocations: 0 / 0.6505 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.5647, allocations: 7.938 kB / 0.6505 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.5647, allocations: 8 kB / 0.6506 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5647, allocations: 0 / 0.6506 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.5658, allocations: 0.6391 MB / 0.6512 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.5659, allocations: 59.48 kB / 0.6512 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.566, allocations: 27.72 kB / 0.6513 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.5662, allocations: 23.97 kB / 0.6513 GB, free: 7.512 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.5663, allocations: 15.97 kB / 0.6513 GB, free: 7.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.5663, allocations: 15.98 kB / 0.6513 GB, free: 7.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000411/0.5667, allocations: 338.9 kB / 0.6516 GB, free: 7.148 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5667, allocations: 0 / 0.6516 GB, free: 7.148 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002855/0.5695, allocations: 0.8617 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.005549/0.5751, allocations: 2.08 MB / 0.6545 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009579/0.576, allocations: 357.1 kB / 0.6548 GB, free: 3.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.5761, allocations: 0 / 0.6548 GB, free: 3.832 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.5765, allocations: 208.5 kB / 0.655 GB, free: 3.629 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.5776, allocations: 191 kB / 0.6552 GB, free: 3.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008117/0.5857, allocations: 4.296 MB / 0.6594 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.5862, allocations: 0.872 MB / 0.6603 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004404/0.5866, allocations: 191 kB / 0.6605 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.5869, allocations: 191.4 kB / 0.6606 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.5869, allocations: 0 / 0.6606 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07929/0.6661, allocations: 40.95 MB / 0.7006 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.35, allocations: 0 / 0.7006 GB, free: 4.844 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201597 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.518089772202075] Failed to read output from testmodel.py, exit status != 0: ['time', 'specificEntropy.s', 'specificEntropy1.s'] 11.450901466887444 11.479793288 10.961638884 Calling exit ...