Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.001311/0.001311, allocations: 119.5 kB / 18.51 MB, free: 4.555 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.001407/0.001407, allocations: 205.6 kB / 21.45 MB, free: 1.609 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.498/1.498, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2312/0.2312, allocations: 46.92 MB / 357.7 MB, free: 10.2 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.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.002412/0.002412, allocations: 75.88 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1329, allocations: 66.04 MB / 0.5562 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650): time 0.03221/0.1651, allocations: 25.21 MB / 0.5808 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006592/0.1717, allocations: 4.383 MB / 0.5851 GB, free: 7.836 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005081/0.1722, allocations: 27.75 kB / 0.5851 GB, free: 7.809 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007923/0.173, allocations: 298.1 kB / 0.5854 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.1767, allocations: 1.665 MB / 0.587 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.1797, allocations: 1.374 MB / 0.5883 GB, free: 4.477 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002394/0.1821, allocations: 1.844 MB / 0.5901 GB, free: 2.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006872/0.1828, allocations: 445.3 kB / 0.5906 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2731/0.4559, allocations: 3.381 MB / 0.5939 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002674/0.4586, allocations: 1.459 MB / 0.5953 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000226/0.4588, allocations: 61.09 kB / 0.5954 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002689/0.4615, allocations: 1.338 MB / 0.5967 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004192/0.4619, allocations: 268.2 kB / 0.5969 GB, free: 6.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006186/0.4625, allocations: 403.5 kB / 0.5973 GB, free: 6.418 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002619/0.4651, allocations: 1.38 MB / 0.5986 GB, free: 6.246 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4651, allocations: 1 kB / 0.5986 GB, free: 6.246 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4651, allocations: 0 / 0.5986 GB, free: 6.246 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.129e-05/0.4652, allocations: 0 / 0.5986 GB, free: 6.246 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002548/0.4677, allocations: 1.144 MB / 0.5998 GB, free: 5.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.4678, allocations: 13.41 kB / 0.5998 GB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.4679, allocations: 98.25 kB / 0.5999 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.469, allocations: 151.9 kB / 0.6 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009962/0.47, allocations: 0.5408 MB / 0.6005 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.4701, allocations: 106.5 kB / 0.6006 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.4702, allocations: 51.41 kB / 0.6007 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.4718, allocations: 0.8298 MB / 0.6015 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.4718, allocations: 4.219 kB / 0.6015 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.486e-05/0.4719, allocations: 24.09 kB / 0.6015 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.758e-05/0.4719, allocations: 42.67 kB / 0.6016 GB, free: 4.906 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001334/0.4733, allocations: 0.6032 MB / 0.6022 GB, free: 4.906 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004595/0.4779, allocations: 4.674 MB / 0.6067 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.4786, allocations: 310.6 kB / 0.607 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.4788, allocations: 129.5 kB / 0.6071 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/0.4791, allocations: 419.9 kB / 0.6075 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4791, allocations: 42.11 kB / 0.6076 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.495e-06/0.4791, allocations: 0 / 0.6076 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.004429/0.4835, allocations: 1.541 MB / 0.6091 GB, free: 424 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.4836, allocations: 134.3 kB / 0.6092 GB, free: 16.26 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007723/0.4844, allocations: 0.6514 MB / 0.6099 GB, free: 16.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.4845, allocations: 35.92 kB / 0.6099 GB, free: 16.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.4847, allocations: 400.1 kB / 0.6103 GB, free: 15.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.4848, allocations: 145.6 kB / 0.6104 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.485, allocations: 147.5 kB / 0.6106 GB, free: 15.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.4852, allocations: 380.5 kB / 0.6109 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.4856, allocations: 200.8 kB / 0.6111 GB, free: 15.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.4863, allocations: 0.496 MB / 0.6116 GB, free: 15.06 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.4873, allocations: 0.7116 MB / 0.6123 GB, free: 14.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.4873, allocations: 7.5 kB / 0.6123 GB, free: 14.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00171/0.489, allocations: 0.883 MB / 0.6132 GB, free: 14.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.489, allocations: 12.3 kB / 0.6132 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.489, allocations: 10.22 kB / 0.6132 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.4904, allocations: 286.1 kB / 0.6134 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.4908, allocations: 123.9 kB / 0.6136 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.492, allocations: 1.402 MB / 0.6149 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005316/0.4926, allocations: 26.45 kB / 0.615 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.588e-05/0.4926, allocations: 39.27 kB / 0.615 GB, free: 13.53 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003673/0.493, allocations: 246.9 kB / 0.6152 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.4931, allocations: 77.92 kB / 0.6153 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.4947, allocations: 0.7034 MB / 0.616 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4947, allocations: 3.281 kB / 0.616 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4947, allocations: 1.344 kB / 0.616 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4947, allocations: 11.59 kB / 0.616 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/0.4967, allocations: 1.202 MB / 0.6172 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4967, allocations: 1.219 kB / 0.6172 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.4968, allocations: 42.91 kB / 0.6172 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00088/0.4977, allocations: 195.8 kB / 0.6174 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.503e-05/0.4978, allocations: 15.94 kB / 0.6174 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.4989, allocations: 1.301 MB / 0.6187 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4989, allocations: 2.625 kB / 0.6187 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.5002, allocations: 0.8076 MB / 0.6195 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.5005, allocations: 194.7 kB / 0.6197 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.5006, allocations: 5.844 kB / 0.6197 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.501, allocations: 17 kB / 0.6197 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/0.5011, allocations: 22.47 kB / 0.6197 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.5011, allocations: 25.05 kB / 0.6197 GB, free: 11.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005718/0.5017, allocations: 452.5 kB / 0.6202 GB, free: 11.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5017, allocations: 0 / 0.6202 GB, free: 11.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001025/0.5027, allocations: 258.4 kB / 0.6204 GB, free: 11.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002124/0.5049, allocations: 1.511 MB / 0.6219 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.506, allocations: 0.5095 MB / 0.6224 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.506, allocations: 2.656 kB / 0.6224 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000469/0.5064, allocations: 209.6 kB / 0.6226 GB, free: 10.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/0.5079, allocations: 339.4 kB / 0.6229 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008852/0.5168, allocations: 6.136 MB / 0.6289 GB, free: 7.461 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.5174, allocations: 0.933 MB / 0.6298 GB, free: 6.734 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007702/0.5181, allocations: 262.7 kB / 0.6301 GB, free: 6.684 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.5185, allocations: 222.3 kB / 0.6303 GB, free: 6.527 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5185, allocations: 0 / 0.6303 GB, free: 6.527 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08399/0.6025, allocations: 22.14 MB / 0.6519 GB, free: 6.355 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.56, allocations: 6.234 kB / 0.6519 GB, free: 6.352 MB / 478.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.69430766068399] Failed to read output from testmodel.py, exit status != 0: ['time', 'p_start', 'T_start', 'h_start', 'X_start[1]', 'volume.medium.T', 'volume.ports[1].m_flow', 'volume.ports[1].p', 'volume.ports[1].h_outflow', 'volume.ports[2].m_flow', 'volume.ports[2].p', 'volume.ports[2].h_outflow', 'volume.ports_H_flow[1]', 'volume.ports_H_flow[2]', 'volume.ports_E_flow[1]', 'volume.ports_E_flow[2]', 'volume.ports_penetration[1]', 'volume.ports_penetration[2]', 'volume.portsData_diameter[1]', 'volume.portsData_diameter[2]', 'volume.portsData_height[1]', 'volume.portsData_height[2]', 'volume.portsData_zeta_in[1]', 'volume.portsData_zeta_in[2]', 'volume.portsData_zeta_out[1]', 'volume.portsData_zeta_out[2]', 'fixedMassFlowRate.ports[1].m_flow', 'fixedMassFlowRate.ports[1].p', 'fixedMassFlowRate.ports[1].h_outflow', 'shortPipe.port_b.m_flow', 'shortPipe.port_b.p', 'shortPipe.port_b.h_outflow'] 14.666616622824222 14.680827362 14.212728014 Calling exit ...