Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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.001706/0.001706, 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.002614/0.002614, allocations: 213.2 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.469/1.469, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2196/0.2196, allocations: 46.93 MB / 361.6 MB, free: 4.199 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.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph",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.003336/0.003336, allocations: 79.86 kB / 0.497 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3364, allocations: 66.08 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04288/0.3793, allocations: 39.76 MB / 0.6004 GB, free: 12.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02512/0.4044, allocations: 20.32 MB / 0.6202 GB, free: 8.012 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007265/0.4051, allocations: 31.69 kB / 0.6202 GB, free: 7.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.4063, allocations: 445.3 kB / 0.6207 GB, free: 7.543 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.4202, allocations: 5.169 MB / 0.6257 GB, free: 2.379 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007755/0.4279, allocations: 2.598 MB / 0.6282 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00282/0.4308, allocations: 2.008 MB / 0.6302 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006664/0.4314, allocations: 417.8 kB / 0.6306 GB, free: 13.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008837/0.4403, allocations: 4.199 MB / 0.6347 GB, free: 9.09 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.4508, allocations: 5.506 MB / 0.6401 GB, free: 3.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000216/0.4511, allocations: 72 kB / 0.6401 GB, free: 3.43 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/0.465, allocations: 7.422 MB / 0.6474 GB, free: 12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005344/0.4655, allocations: 291.1 kB / 0.6477 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006538/0.4662, allocations: 457.9 kB / 0.6481 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.4779, allocations: 5.12 MB / 0.6531 GB, free: 6.133 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.4779, allocations: 4 kB / 0.6531 GB, free: 6.129 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4779, allocations: 0 / 0.6531 GB, free: 6.129 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.478, allocations: 0 / 0.6531 GB, free: 6.129 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.00523/0.4832, allocations: 1.662 MB / 0.6547 GB, free: 4.43 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4832, allocations: 15.97 kB / 0.6547 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.4834, allocations: 110.7 kB / 0.6549 GB, free: 4.297 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002137/0.4855, allocations: 300.2 kB / 0.6551 GB, free: 4.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.4865, allocations: 0.5143 MB / 0.6556 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.4867, allocations: 168.7 kB / 0.6558 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.4868, allocations: 67.92 kB / 0.6559 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.4894, allocations: 1.197 MB / 0.657 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.4894, allocations: 7.938 kB / 0.657 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.937e-05/0.4895, allocations: 27.98 kB / 0.6571 GB, free: 1.875 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.11e-05/0.4896, allocations: 49.28 kB / 0.6571 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002528/0.4921, allocations: 1.023 MB / 0.6581 GB, free: 0.8047 MB / 494.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.006507/0.4986, allocations: 5.481 MB / 0.6635 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.5009, allocations: 0.7431 MB / 0.6642 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005973/0.5015, allocations: 276.8 kB / 0.6645 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02866/0.5301, allocations: 8.631 MB / 0.6729 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.5302, allocations: 34.56 kB / 0.6729 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.374e-06/0.5302, allocations: 7.938 kB / 0.6729 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.006828/0.537, allocations: 2.219 MB / 0.6751 GB, free: 15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.5371, allocations: 166.6 kB / 0.6753 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000815/0.5379, allocations: 0.6172 MB / 0.6759 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.127e-05/0.538, allocations: 33.7 kB / 0.6759 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.5383, allocations: 392.3 kB / 0.6763 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.5385, allocations: 186.4 kB / 0.6764 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.5387, allocations: 166.6 kB / 0.6766 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.5389, allocations: 374.8 kB / 0.677 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006294/0.5395, allocations: 285.8 kB / 0.6772 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009607/0.5405, allocations: 0.6004 MB / 0.6778 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.5421, allocations: 0.8987 MB / 0.6787 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.5421, allocations: 8 kB / 0.6787 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001922/0.544, allocations: 0.9688 MB / 0.6796 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.544, allocations: 14.34 kB / 0.6797 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.5441, allocations: 8 kB / 0.6797 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003082/0.5444, allocations: 60.83 kB / 0.6797 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.5457, allocations: 312 kB / 0.68 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.5477, allocations: 1.967 MB / 0.6819 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/0.5483, allocations: 48.17 kB / 0.682 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.03e-05/0.5484, allocations: 43.98 kB / 0.682 GB, free: 7.367 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00045/0.5488, allocations: 266.4 kB / 0.6823 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.549, allocations: 75.52 kB / 0.6824 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/0.5527, allocations: 2.645 MB / 0.6849 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-05/0.5528, allocations: 35.97 kB / 0.685 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.5528, allocations: 4 kB / 0.685 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.5528, allocations: 0 / 0.685 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005656/0.5584, allocations: 3.845 MB / 0.6887 GB, free: 428 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.5584, allocations: 4 kB / 0.6887 GB, free: 424 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.5596, allocations: 231.7 kB / 0.689 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.56, allocations: 80.8 kB / 0.689 GB, free: 108 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.56, allocations: 15.98 kB / 0.6891 GB, free: 92 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.5619, allocations: 1.99 MB / 0.691 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5619, allocations: 0 / 0.691 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/0.5654, allocations: 2.421 MB / 0.6934 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004141/0.5658, allocations: 178.8 kB / 0.6935 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.566, allocations: 35.78 kB / 0.6936 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.5664, allocations: 32.03 kB / 0.6936 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.5665, allocations: 56.39 kB / 0.6936 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.5666, allocations: 16 kB / 0.6937 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007996/0.5674, allocations: 0.5653 MB / 0.6942 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5674, allocations: 0 / 0.6942 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003263/0.5706, allocations: 1.104 MB / 0.6953 GB, free: 9.531 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007988/0.5786, allocations: 4.068 MB / 0.6993 GB, free: 5.434 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002559/0.5812, allocations: 1.096 MB / 0.7003 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.5812, allocations: 4 kB / 0.7003 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.5828, allocations: 0.754 MB / 0.7011 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.5846, allocations: 396.4 kB / 0.7015 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/0.5992, allocations: 8.75 MB / 0.71 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008105/0.6, allocations: 1.165 MB / 0.7111 GB, free: 8.832 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009307/0.6009, allocations: 442 kB / 0.7116 GB, free: 8.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/0.6014, allocations: 443.3 kB / 0.712 GB, free: 7.961 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.6014, allocations: 0 / 0.712 GB, free: 7.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3506/0.952, allocations: 59.66 MB / 0.7702 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/16.86, allocations: 15.72 kB / 0.7703 GB, free: 129.9 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201879 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_ph.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.872039909940213] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.h'] 16.998225940857083 17.014829253 16.533024995 Calling exit ...