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.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0015/0.0015, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001612/0.001612, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 247 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.2319/0.2319, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.002242/0.002242, allocations: 80.19 kB / 480.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3738, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02043/0.3942, allocations: 16.53 MB / 0.5468 GB, free: 80 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008876/0.4032, allocations: 5.466 MB / 0.5521 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008876/0.4041, allocations: 19.59 kB / 0.5521 GB, free: 11.63 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.4052, allocations: 319.6 kB / 0.5524 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.4076, allocations: 0.8277 MB / 0.5532 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002946/0.4105, allocations: 0.9997 MB / 0.5542 GB, free: 9.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00243/0.413, allocations: 1.79 MB / 0.556 GB, free: 7.703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007683/0.4137, allocations: 457.4 kB / 0.5564 GB, free: 7.254 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.4152, allocations: 0.7551 MB / 0.5571 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009449/0.4162, allocations: 0.615 MB / 0.5577 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.4163, allocations: 60 kB / 0.5578 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.4174, allocations: 363.5 kB / 0.5581 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.4177, allocations: 259.3 kB / 0.5584 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004513/0.4181, allocations: 398.2 kB / 0.5588 GB, free: 4.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.4199, allocations: 1.16 MB / 0.5599 GB, free: 3.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4199, allocations: 0 / 0.5599 GB, free: 3.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.42, allocations: 0 / 0.5599 GB, free: 3.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.42, allocations: 0 / 0.5599 GB, free: 3.66 MB / 414.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.002123/0.4221, allocations: 1.063 MB / 0.5609 GB, free: 2.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.4222, allocations: 8.031 kB / 0.5609 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001353/0.4223, allocations: 98.69 kB / 0.561 GB, free: 2.434 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003591/0.4227, allocations: 92.42 kB / 0.5611 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.4235, allocations: 0.5409 MB / 0.5616 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.4237, allocations: 101 kB / 0.5617 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.21e-05/0.4238, allocations: 56.11 kB / 0.5618 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.4251, allocations: 0.8231 MB / 0.5626 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.4251, allocations: 7.938 kB / 0.5626 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.312e-05/0.4252, allocations: 28 kB / 0.5626 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.736e-05/0.4253, allocations: 36.98 kB / 0.5627 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.4264, allocations: 0.6438 MB / 0.5633 GB, free: 15.98 MB / 430.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.004907/0.4313, allocations: 4.349 MB / 0.5675 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006614/0.432, allocations: 354.8 kB / 0.5679 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.4323, allocations: 173.3 kB / 0.5681 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002082/0.4344, allocations: 1.71 MB / 0.5697 GB, free: 8.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.4344, allocations: 38.56 kB / 0.5698 GB, free: 8.793 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.4344, allocations: 0 / 0.5698 GB, free: 8.793 MB / 430.1 MB Notification: Performance of matching and sorting (n=37): time 0.00373/0.4381, allocations: 1.403 MB / 0.5711 GB, free: 7.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.448e-05/0.4383, allocations: 136.5 kB / 0.5713 GB, free: 7.168 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008091/0.4391, allocations: 0.6251 MB / 0.5719 GB, free: 6.531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.4391, allocations: 33.7 kB / 0.5719 GB, free: 6.492 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.4394, allocations: 415.4 kB / 0.5723 GB, free: 6.082 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.4396, allocations: 142.8 kB / 0.5724 GB, free: 5.941 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.4398, allocations: 150.5 kB / 0.5726 GB, free: 5.789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001856/0.44, allocations: 374.8 kB / 0.5729 GB, free: 5.414 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.4403, allocations: 185.9 kB / 0.5731 GB, free: 5.234 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/0.4409, allocations: 0.5559 MB / 0.5737 GB, free: 4.504 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.442, allocations: 0.7805 MB / 0.5744 GB, free: 3.559 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.442, allocations: 7.938 kB / 0.5744 GB, free: 3.551 MB / 430.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001379/0.4434, allocations: 0.8377 MB / 0.5752 GB, free: 2.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.4434, allocations: 10.34 kB / 0.5753 GB, free: 2.695 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.4434, allocations: 12 kB / 0.5753 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.4438, allocations: 100.8 kB / 0.5754 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.4445, allocations: 175.7 kB / 0.5755 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006161/0.4451, allocations: 0.6696 MB / 0.5762 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/0.4456, allocations: 31.98 kB / 0.5762 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.145e-05/0.4456, allocations: 44 kB / 0.5763 GB, free: 1.641 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (87): * Single equations (assignments): 86 * 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 {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003394/0.446, allocations: 257.4 kB / 0.5765 GB, free: 1.379 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.4461, allocations: 75.53 kB / 0.5766 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009119/0.447, allocations: 0.4963 MB / 0.5771 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.447, allocations: 4 kB / 0.5771 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.447, allocations: 0 / 0.5771 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.4471, allocations: 7.984 kB / 0.5771 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001935/0.449, allocations: 1.218 MB / 0.5783 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.449, allocations: 12.03 kB / 0.5783 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.4493, allocations: 75.89 kB / 0.5783 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001852/0.4495, allocations: 36.78 kB / 0.5784 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.4496, allocations: 19.98 kB / 0.5784 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004164/0.45, allocations: 0.5562 MB / 0.5789 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.45, allocations: 7.969 kB / 0.5789 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001052/0.4511, allocations: 0.7339 MB / 0.5797 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.4513, allocations: 188.6 kB / 0.5798 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.966e-05/0.4514, allocations: 8.141 kB / 0.5798 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.4518, allocations: 20.06 kB / 0.5799 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.4519, allocations: 35.83 kB / 0.5799 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.4519, allocations: 23.98 kB / 0.5799 GB, free: 13.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005816/0.4525, allocations: 471 kB / 0.5804 GB, free: 13.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4525, allocations: 7.938 kB / 0.5804 GB, free: 13.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007827/0.4533, allocations: 203.9 kB / 0.5806 GB, free: 12.99 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (36): * Single equations (assignments): 35 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001844/0.4551, allocations: 1.407 MB / 0.582 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.4563, allocations: 0.5048 MB / 0.5824 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4563, allocations: 0 / 0.5824 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.4566, allocations: 186 kB / 0.5826 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.4584, allocations: 371.7 kB / 0.583 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0089/0.4673, allocations: 6.31 MB / 0.5891 GB, free: 3.676 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.4679, allocations: 0.9416 MB / 0.5901 GB, free: 2.707 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007559/0.4687, allocations: 212.9 kB / 0.5903 GB, free: 2.508 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003316/0.4691, allocations: 235.4 kB / 0.5905 GB, free: 2.277 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4691, allocations: 0 / 0.5905 GB, free: 2.277 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05441/0.5235, allocations: 20.65 MB / 0.6107 GB, free: 13.94 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13, allocations: 4.219 kB / 0.6107 GB, free: 13.94 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater_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_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)