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.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001637, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001828/0.001828, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2324/0.2324, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB 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.002321/0.002321, allocations: 74.41 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.127, allocations: 62.44 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4619/0.5889, allocations: 178.2 MB / 0.6429 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00796/0.5969, allocations: 5.342 MB / 0.6482 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006682/0.5977, allocations: 19.88 kB / 0.6482 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000899/0.5986, allocations: 318 kB / 0.6485 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003766/0.6024, allocations: 1.34 MB / 0.6498 GB, free: 9.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.6054, allocations: 1.058 MB / 0.6508 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00327/0.6086, allocations: 1.86 MB / 0.6526 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009771/0.6096, allocations: 463 kB / 0.6531 GB, free: 6.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/0.6127, allocations: 1.07 MB / 0.6541 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.6142, allocations: 0.7588 MB / 0.6549 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.6144, allocations: 64 kB / 0.6549 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.616, allocations: 0.5813 MB / 0.6555 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003535/0.6164, allocations: 267.2 kB / 0.6558 GB, free: 3.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005747/0.617, allocations: 398.2 kB / 0.6561 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.619, allocations: 1.286 MB / 0.6574 GB, free: 2.039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6191, allocations: 4 kB / 0.6574 GB, free: 2.035 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.6191, allocations: 0 / 0.6574 GB, free: 2.035 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.6191, allocations: 0 / 0.6574 GB, free: 2.035 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002361/0.6215, allocations: 1.103 MB / 0.6585 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.6215, allocations: 12.03 kB / 0.6585 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.6217, allocations: 98.5 kB / 0.6586 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008363/0.6225, allocations: 135.1 kB / 0.6587 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008603/0.6234, allocations: 0.5079 MB / 0.6592 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.6235, allocations: 100.4 kB / 0.6593 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.6236, allocations: 49.12 kB / 0.6593 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.625, allocations: 0.8214 MB / 0.6601 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.625, allocations: 3.938 kB / 0.6602 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.664e-05/0.6251, allocations: 31.92 kB / 0.6602 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-05/0.6252, allocations: 36.97 kB / 0.6602 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.6263, allocations: 0.6166 MB / 0.6608 GB, free: 14.34 MB / 0.4981 GB 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.005354/0.6317, allocations: 3.964 MB / 0.6647 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006497/0.6324, allocations: 353.7 kB / 0.665 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.6327, allocations: 170.2 kB / 0.6652 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.6328, allocations: 97.38 kB / 0.6653 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.6329, allocations: 38.84 kB / 0.6653 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.344e-06/0.6329, allocations: 0 / 0.6653 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006292/0.6392, allocations: 1.681 MB / 0.667 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.664e-05/0.6393, allocations: 132.5 kB / 0.6671 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008701/0.6402, allocations: 0.6172 MB / 0.6677 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.752e-05/0.6402, allocations: 29.7 kB / 0.6677 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003216/0.6406, allocations: 366.9 kB / 0.6681 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.6407, allocations: 142 kB / 0.6682 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.641, allocations: 162.5 kB / 0.6684 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.6412, allocations: 374.8 kB / 0.6687 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.6416, allocations: 201.9 kB / 0.6689 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000701/0.6423, allocations: 0.5163 MB / 0.6694 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.6435, allocations: 0.7514 MB / 0.6701 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.6435, allocations: 4 kB / 0.6702 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001647/0.6452, allocations: 0.8836 MB / 0.671 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.6452, allocations: 8 kB / 0.671 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.6452, allocations: 15.94 kB / 0.671 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/0.6467, allocations: 312.9 kB / 0.6713 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.6472, allocations: 123.8 kB / 0.6715 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.6485, allocations: 0.933 MB / 0.6724 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000574/0.6491, allocations: 28 kB / 0.6724 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.947e-05/0.6492, allocations: 71.92 kB / 0.6725 GB, free: 1.672 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004299/0.6496, allocations: 249.5 kB / 0.6727 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.6498, allocations: 75.16 kB / 0.6728 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.6518, allocations: 0.859 MB / 0.6736 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.6518, allocations: 7.984 kB / 0.6736 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.6518, allocations: 0 / 0.6736 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.6519, allocations: 3.938 kB / 0.6736 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.6544, allocations: 1.461 MB / 0.675 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.6544, allocations: 4 kB / 0.6751 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/0.6555, allocations: 211.9 kB / 0.6753 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.596e-05/0.6557, allocations: 28.83 kB / 0.6753 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.835e-05/0.6557, allocations: 16 kB / 0.6753 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/0.6583, allocations: 2.879 MB / 0.6781 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.6583, allocations: 3.938 kB / 0.6781 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/0.6598, allocations: 0.8213 MB / 0.6789 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.6602, allocations: 188.3 kB / 0.6791 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.6603, allocations: 16 kB / 0.6791 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/0.6607, allocations: 15.98 kB / 0.6791 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.6608, allocations: 43.89 kB / 0.6792 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/0.6609, allocations: 43.98 kB / 0.6792 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006387/0.6616, allocations: 439 kB / 0.6796 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6616, allocations: 3.938 kB / 0.6796 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001051/0.6626, allocations: 248 kB / 0.6799 GB, free: 9.594 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,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 (39): * Single equations (assignments): 37 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002633/0.6653, allocations: 1.572 MB / 0.6814 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.6667, allocations: 0.5977 MB / 0.682 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6667, allocations: 0 / 0.682 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.6678, allocations: 419.2 kB / 0.6824 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001875/0.6697, allocations: 371.7 kB / 0.6827 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009546/0.6793, allocations: 6.549 MB / 0.6891 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.6799, allocations: 0.9261 MB / 0.69 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001406/0.6814, allocations: 471.7 kB / 0.6905 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005649/0.6819, allocations: 290.8 kB / 0.6908 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of SimCode: time 1.002e-06/0.6819, allocations: 0 / 0.6908 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3326/1.015, allocations: 24.21 MB / 0.7144 GB, free: 195.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.41, allocations: 3.469 kB / 0.7144 GB, free: 195.1 MB / 0.5294 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)