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_pT.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.001846/0.001846, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002263/0.002263, allocations: 221.8 kB / 23.01 MB, free: 5.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.418/1.418, allocations: 230.2 MB / 256.2 MB, free: 8.684 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.2193/0.2193, allocations: 46.89 MB / 359.4 MB, free: 4.918 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_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",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.002234/0.002234, allocations: 87.86 kB / 0.4941 GB, free: 8.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2952, allocations: 65.99 MB / 0.5586 GB, free: 5.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04275/0.3379, allocations: 39.76 MB / 0.5974 GB, free: 13.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02506/0.363, allocations: 20.31 MB / 0.6172 GB, free: 8.883 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007293/0.3637, allocations: 23.88 kB / 0.6173 GB, free: 8.859 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.3649, allocations: 453.2 kB / 0.6177 GB, free: 8.414 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01232/0.3772, allocations: 5.149 MB / 0.6227 GB, free: 3.27 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006331/0.3835, allocations: 2.57 MB / 0.6252 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002516/0.386, allocations: 1.973 MB / 0.6272 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006307/0.3867, allocations: 409.6 kB / 0.6276 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008205/0.3949, allocations: 4.18 MB / 0.6316 GB, free: 10.07 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01046/0.4053, allocations: 5.475 MB / 0.637 GB, free: 4.508 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.4056, allocations: 68 kB / 0.6371 GB, free: 4.441 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01447/0.42, allocations: 7.266 MB / 0.6441 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00048/0.4205, allocations: 283 kB / 0.6444 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006811/0.4212, allocations: 450 kB / 0.6448 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.4323, allocations: 4.988 MB / 0.6497 GB, free: 7.449 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4323, allocations: 4 kB / 0.6497 GB, free: 7.445 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4323, allocations: 0 / 0.6497 GB, free: 7.445 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.4323, allocations: 0 / 0.6497 GB, free: 7.445 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.003906/0.4362, allocations: 1.676 MB / 0.6514 GB, free: 5.715 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4363, allocations: 8.031 kB / 0.6514 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.4364, allocations: 110.7 kB / 0.6515 GB, free: 5.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.4378, allocations: 224.3 kB / 0.6517 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009009/0.4387, allocations: 0.5759 MB / 0.6522 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.4388, allocations: 113.3 kB / 0.6524 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.4389, allocations: 67.92 kB / 0.6524 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.4409, allocations: 1.067 MB / 0.6535 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.4409, allocations: 7.938 kB / 0.6535 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.583e-05/0.441, allocations: 31.98 kB / 0.6535 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.989e-05/0.441, allocations: 40.98 kB / 0.6535 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.4427, allocations: 0.8232 MB / 0.6543 GB, free: 2.484 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.006008/0.4487, allocations: 5.559 MB / 0.6598 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.45, allocations: 0.5154 MB / 0.6603 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/0.4503, allocations: 202.5 kB / 0.6605 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1038/0.5541, allocations: 52.79 MB / 0.712 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.5542, allocations: 42.56 kB / 0.7121 GB, free: 328 kB / 0.545 GB Notification: Performance of pre-optimization done (n=39): time 2.395e-06/0.5542, allocations: 0 / 0.7121 GB, free: 328 kB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.006424/0.5606, allocations: 2.153 MB / 0.7142 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.5607, allocations: 191.9 kB / 0.7143 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000806/0.5615, allocations: 0.6446 MB / 0.715 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.5616, allocations: 33.77 kB / 0.715 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.5619, allocations: 412.2 kB / 0.7154 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.562, allocations: 170.6 kB / 0.7156 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.5623, allocations: 154.6 kB / 0.7157 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5624, allocations: 378.8 kB / 0.7161 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003981/0.5628, allocations: 229.9 kB / 0.7163 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006748/0.5635, allocations: 0.5861 MB / 0.7169 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.5646, allocations: 0.8688 MB / 0.7177 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5646, allocations: 4 kB / 0.7177 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001487/0.5661, allocations: 0.904 MB / 0.7186 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.5662, allocations: 18.28 kB / 0.7186 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.5662, allocations: 12 kB / 0.7186 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003045/0.5692, allocations: 268.5 kB / 0.7189 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.5704, allocations: 288 kB / 0.7192 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.5724, allocations: 2.114 MB / 0.7212 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.5729, allocations: 36.14 kB / 0.7213 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.059e-05/0.573, allocations: 40 kB / 0.7213 GB, free: 6.207 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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 {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004112/0.5734, allocations: 272.8 kB / 0.7216 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.5735, allocations: 75.53 kB / 0.7216 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.5761, allocations: 2.018 MB / 0.7236 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.12e-05/0.5761, allocations: 19.97 kB / 0.7236 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5761, allocations: 4 kB / 0.7236 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.5761, allocations: 3.984 kB / 0.7236 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/0.5797, allocations: 2.995 MB / 0.7266 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.5797, allocations: 4 kB / 0.7266 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009152/0.5806, allocations: 183.8 kB / 0.7267 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001672/0.5823, allocations: 303.9 kB / 0.727 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.5823, allocations: 15.98 kB / 0.727 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2278/0.8102, allocations: 2.165 MB / 0.7291 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.8102, allocations: 5.75 kB / 0.7292 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/0.8128, allocations: 1.946 MB / 0.7311 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.8131, allocations: 231.6 kB / 0.7313 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.877e-05/0.8132, allocations: 33.58 kB / 0.7313 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/0.8136, allocations: 21.39 kB / 0.7313 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.53e-05/0.8137, allocations: 34.77 kB / 0.7314 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.158e-05/0.8138, allocations: 18.62 kB / 0.7314 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006903/0.8145, allocations: 0.5732 MB / 0.7319 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8145, allocations: 0 / 0.7319 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002977/0.8174, allocations: 1.101 MB / 0.733 GB, free: 165.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005967/0.8234, allocations: 3.597 MB / 0.7365 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.8251, allocations: 0.894 MB / 0.7374 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.8251, allocations: 0 / 0.7374 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.8261, allocations: 0.5929 MB / 0.738 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001843/0.828, allocations: 411.9 kB / 0.7384 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008781/0.8368, allocations: 8.283 MB / 0.7465 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.8371, allocations: 1.094 MB / 0.7475 GB, free: 155 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006545/0.8378, allocations: 344.2 kB / 0.7479 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00031/0.8381, allocations: 383.3 kB / 0.7482 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/0.8381, allocations: 0 / 0.7482 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07885/0.9169, allocations: 55.92 MB / 0.8028 GB, free: 98.53 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.3, allocations: 0 / 0.8028 GB, free: 98.53 MB / 0.5606 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_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_pT.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.015047677006805] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 16.43808056000853 16.45499107 16.019170741 Calling exit ...