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.Glycol47.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.001749/0.001749, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.00207/0.00207, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.501/1.501, allocations: 230.5 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.2395/0.2395, 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.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",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.002279/0.002279, allocations: 83.84 kB / 0.4917 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1375, allocations: 66.04 MB / 0.5562 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47): time 0.03042/0.1679, allocations: 25.22 MB / 0.5808 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00769/0.1756, allocations: 4.383 MB / 0.5851 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009125/0.1765, allocations: 27.75 kB / 0.5851 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009913/0.1775, allocations: 302 kB / 0.5854 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.1817, allocations: 1.611 MB / 0.587 GB, free: 5.891 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.1849, allocations: 1.327 MB / 0.5883 GB, free: 4.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002626/0.1875, allocations: 1.856 MB / 0.5901 GB, free: 2.707 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000729/0.1883, allocations: 441.3 kB / 0.5905 GB, free: 2.273 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2995/0.4878, allocations: 3.055 MB / 0.5935 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/0.4911, allocations: 1.333 MB / 0.5948 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002632/0.4914, allocations: 63.44 kB / 0.5948 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002992/0.4944, allocations: 1.247 MB / 0.5961 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000519/0.4949, allocations: 269.7 kB / 0.5963 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007439/0.4956, allocations: 403.7 kB / 0.5967 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00297/0.4986, allocations: 1.375 MB / 0.598 GB, free: 6.242 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4986, allocations: 1.062 kB / 0.5981 GB, free: 6.242 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4986, allocations: 0.5938 kB / 0.5981 GB, free: 6.242 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.69e-05/0.4986, allocations: 0 / 0.5981 GB, free: 6.242 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.002423/0.5011, allocations: 1.145 MB / 0.5992 GB, free: 5.578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5011, allocations: 9.25 kB / 0.5992 GB, free: 5.578 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.5012, allocations: 108.4 kB / 0.5993 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.5023, allocations: 145.2 kB / 0.5994 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009138/0.5032, allocations: 0.5387 MB / 0.5999 GB, free: 5.223 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.5033, allocations: 104.8 kB / 0.6 GB, free: 5.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.5034, allocations: 57.95 kB / 0.6001 GB, free: 5.152 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.5051, allocations: 0.8222 MB / 0.6009 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.5051, allocations: 5.719 kB / 0.6009 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-05/0.5052, allocations: 26.52 kB / 0.6009 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-05/0.5053, allocations: 42.09 kB / 0.601 GB, free: 4.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.5067, allocations: 0.6023 MB / 0.6016 GB, free: 4.91 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.004633/0.5113, allocations: 4.67 MB / 0.6061 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/0.5119, allocations: 312.9 kB / 0.6064 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.5122, allocations: 128.7 kB / 0.6065 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/0.5124, allocations: 418.2 kB / 0.6069 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.5124, allocations: 45.72 kB / 0.607 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.265e-06/0.5124, allocations: 0 / 0.607 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of matching and sorting (n=36): time 0.00401/0.5164, allocations: 1.541 MB / 0.6085 GB, free: 16.42 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.713e-05/0.5165, allocations: 133.2 kB / 0.6086 GB, free: 16.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009987/0.5175, allocations: 0.6601 MB / 0.6093 GB, free: 16.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.223e-05/0.5175, allocations: 31.8 kB / 0.6093 GB, free: 16.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.5178, allocations: 398.6 kB / 0.6097 GB, free: 15.87 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.434e-05/0.5179, allocations: 145.1 kB / 0.6098 GB, free: 15.78 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.5181, allocations: 147.3 kB / 0.61 GB, free: 15.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.5183, allocations: 376 kB / 0.6103 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.5186, allocations: 204.7 kB / 0.6105 GB, free: 15.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.5192, allocations: 0.4994 MB / 0.611 GB, free: 15.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/0.5201, allocations: 0.7115 MB / 0.6117 GB, free: 14.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.5201, allocations: 3.062 kB / 0.6117 GB, free: 14.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00175/0.5219, allocations: 0.8866 MB / 0.6126 GB, free: 14.61 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5219, allocations: 15.47 kB / 0.6126 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.5219, allocations: 9.594 kB / 0.6126 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.5232, allocations: 288.5 kB / 0.6129 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.5236, allocations: 118.4 kB / 0.613 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.525, allocations: 1.402 MB / 0.6143 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006092/0.5256, allocations: 23.48 kB / 0.6144 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.5256, allocations: 42.28 kB / 0.6144 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.0004124/0.526, allocations: 247.7 kB / 0.6146 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.5262, allocations: 79.12 kB / 0.6147 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.5278, allocations: 0.701 MB / 0.6154 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5278, allocations: 7.75 kB / 0.6154 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.5278, allocations: 0.5156 kB / 0.6154 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.5279, allocations: 2.734 kB / 0.6154 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002027/0.5299, allocations: 1.208 MB / 0.6166 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5299, allocations: 1.125 kB / 0.6166 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.5301, allocations: 46.27 kB / 0.6166 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008644/0.5309, allocations: 198.6 kB / 0.6168 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.531, allocations: 12.05 kB / 0.6168 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001114/0.5321, allocations: 1.297 MB / 0.6181 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5321, allocations: 3.484 kB / 0.6181 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.5335, allocations: 0.816 MB / 0.6189 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/0.5338, allocations: 188.9 kB / 0.6191 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.827e-05/0.5339, allocations: 8.031 kB / 0.6191 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.5343, allocations: 14.22 kB / 0.6191 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.172e-05/0.5343, allocations: 21.02 kB / 0.6191 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.5344, allocations: 22.14 kB / 0.6191 GB, free: 11.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006685/0.535, allocations: 455.4 kB / 0.6196 GB, free: 11.42 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.535, allocations: 0 / 0.6196 GB, free: 11.42 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001179/0.5362, allocations: 255.4 kB / 0.6198 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.002326/0.5386, allocations: 1.514 MB / 0.6213 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.5397, allocations: 0.5124 MB / 0.6218 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5397, allocations: 1.438 kB / 0.6218 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004703/0.5402, allocations: 210.8 kB / 0.622 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.001617/0.5418, allocations: 337 kB / 0.6223 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008988/0.5508, allocations: 6.128 MB / 0.6283 GB, free: 7.492 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.5514, allocations: 0.9346 MB / 0.6292 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007792/0.5522, allocations: 256 kB / 0.6295 GB, free: 6.719 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.5525, allocations: 227.5 kB / 0.6297 GB, free: 6.559 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5525, allocations: 0 / 0.6297 GB, free: 6.559 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05638/0.6089, allocations: 22.16 MB / 0.6513 GB, free: 6.957 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.56, allocations: 15.55 kB / 0.6513 GB, free: 6.945 MB / 478.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_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_Glycol47.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.838981008622795] 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.670485765207559 14.694404252 14.191235139 Calling exit ...