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.001766/0.001766, 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.002141/0.002141, 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.469/1.469, 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.2354/0.2354, allocations: 46.93 MB / 357.7 MB, free: 10.19 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.002508/0.002508, allocations: 79.86 kB / 0.4917 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.122, allocations: 66.03 MB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.3187/0.4406, allocations: 39.43 MB / 0.5947 GB, free: 3.789 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03596/0.4766, allocations: 20.22 MB / 0.6144 GB, free: 3.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.4779, allocations: 25.31 kB / 0.6144 GB, free: 3.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002085/0.48, allocations: 462.7 kB / 0.6149 GB, free: 3.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02359/0.5036, allocations: 5.145 MB / 0.6199 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01104/0.5146, allocations: 2.558 MB / 0.6224 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00384/0.5185, allocations: 1.989 MB / 0.6243 GB, free: 1.395 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009811/0.5194, allocations: 438.6 kB / 0.6248 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01535/0.5348, allocations: 4.197 MB / 0.6289 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01928/0.5541, allocations: 5.496 MB / 0.6342 GB, free: 12.06 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003344/0.5544, allocations: 76.38 kB / 0.6343 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02497/0.5794, allocations: 7.413 MB / 0.6415 GB, free: 8.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007796/0.5802, allocations: 280.8 kB / 0.6418 GB, free: 8.035 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.5813, allocations: 453.5 kB / 0.6422 GB, free: 7.762 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02248/0.6037, allocations: 5.127 MB / 0.6472 GB, free: 3.809 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/0.6037, allocations: 4 kB / 0.6473 GB, free: 3.805 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6037, allocations: 0 / 0.6473 GB, free: 3.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.97e-05/0.6038, allocations: 0 / 0.6473 GB, free: 3.805 MB / 462.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.007984/0.6118, allocations: 1.726 MB / 0.6489 GB, free: 2.023 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/0.6118, allocations: 12.03 kB / 0.6489 GB, free: 2.012 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002425/0.6121, allocations: 118.7 kB / 0.6491 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/0.6156, allocations: 296.1 kB / 0.6493 GB, free: 1.598 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.6177, allocations: 0.5876 MB / 0.6499 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.6179, allocations: 121.4 kB / 0.65 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.6181, allocations: 63.94 kB / 0.6501 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004227/0.6223, allocations: 1.193 MB / 0.6513 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.6224, allocations: 0 / 0.6513 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.6225, allocations: 32 kB / 0.6513 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.576e-05/0.6226, allocations: 49.17 kB / 0.6513 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003847/0.6264, allocations: 1.027 MB / 0.6523 GB, free: 14.39 MB / 478.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.007151/0.6336, allocations: 5.606 MB / 0.6578 GB, free: 8.406 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.6361, allocations: 0.7406 MB / 0.6585 GB, free: 7.648 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006364/0.6367, allocations: 277.6 kB / 0.6588 GB, free: 7.371 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03844/0.6752, allocations: 17.34 MB / 0.6757 GB, free: 3.863 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.178e-05/0.6752, allocations: 46.55 kB / 0.6758 GB, free: 3.809 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 2.645e-06/0.6752, allocations: 0 / 0.6758 GB, free: 3.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=49): time 0.007834/0.6831, allocations: 2.289 MB / 0.678 GB, free: 1.465 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.6832, allocations: 162.7 kB / 0.6782 GB, free: 1.266 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008369/0.6841, allocations: 0.6132 MB / 0.6788 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.6841, allocations: 37.7 kB / 0.6788 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.6844, allocations: 392.3 kB / 0.6792 GB, free: 220 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.6846, allocations: 186.5 kB / 0.6794 GB, free: 32 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.6849, allocations: 154.7 kB / 0.6795 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002789/0.6852, allocations: 382.8 kB / 0.6799 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006956/0.6859, allocations: 281.8 kB / 0.6801 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009825/0.6869, allocations: 0.6044 MB / 0.6807 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.6886, allocations: 0.8987 MB / 0.6816 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6886, allocations: 0 / 0.6816 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00229/0.6909, allocations: 0.9726 MB / 0.6826 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.6909, allocations: 8 kB / 0.6826 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.6909, allocations: 12 kB / 0.6826 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000329/0.6912, allocations: 69.34 kB / 0.6826 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.6926, allocations: 295.6 kB / 0.6829 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.6948, allocations: 2.087 MB / 0.685 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007736/0.6955, allocations: 48.16 kB / 0.685 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-05/0.6956, allocations: 43.98 kB / 0.6851 GB, free: 9.723 MB / 0.4981 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.0005391/0.6962, allocations: 274 kB / 0.6853 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.6964, allocations: 75.47 kB / 0.6854 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003853/0.7002, allocations: 2.548 MB / 0.6879 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.315e-05/0.7003, allocations: 35.89 kB / 0.6879 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7003, allocations: 0 / 0.6879 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.7003, allocations: 3.984 kB / 0.6879 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005742/0.706, allocations: 3.765 MB / 0.6916 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.706, allocations: 0 / 0.6916 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.7072, allocations: 227.7 kB / 0.6918 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004094/0.7076, allocations: 84.73 kB / 0.6919 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.7077, allocations: 15.98 kB / 0.6919 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002115/0.7098, allocations: 2.095 MB / 0.6939 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7098, allocations: 0 / 0.6939 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003997/0.7138, allocations: 2.348 MB / 0.6962 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005553/0.7144, allocations: 260 kB / 0.6965 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.7145, allocations: 39.73 kB / 0.6965 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.715, allocations: 32.03 kB / 0.6966 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.7151, allocations: 54.8 kB / 0.6966 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.7152, allocations: 19.98 kB / 0.6966 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008868/0.7161, allocations: 0.5576 MB / 0.6972 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7161, allocations: 0 / 0.6972 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004186/0.7202, allocations: 1.104 MB / 0.6982 GB, free: 11.91 MB / 0.5137 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.00966/0.7299, allocations: 4.024 MB / 0.7022 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002856/0.7328, allocations: 1.077 MB / 0.7032 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7328, allocations: 0 / 0.7032 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.7345, allocations: 0.7426 MB / 0.704 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.7366, allocations: 409.7 kB / 0.7043 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/0.7521, allocations: 8.713 MB / 0.7129 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009045/0.753, allocations: 1.161 MB / 0.714 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009684/0.754, allocations: 436.1 kB / 0.7144 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005901/0.7546, allocations: 447.3 kB / 0.7148 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/0.7546, allocations: 0 / 0.7148 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/0.8761, allocations: 58.4 MB / 0.7719 GB, free: 280 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.27/17.15, allocations: 0 / 0.7719 GB, free: 280 kB / 0.5762 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: 20.246754837222397] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.h'] 17.283564023207873 17.30560108 16.697355534 Calling exit ...