Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.0009583, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008692/0.0008698, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4253/0.4253, allocations: 40.01 MB / 310.4 MB, free: 9.586 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005664/0.0005664, allocations: 12 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1481, allocations: 57.96 MB / 436.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01748/0.1657, allocations: 15.55 MB / 452.4 MB, free: 2.656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2818/0.4475, allocations: 5.198 MB / 457.6 MB, free: 34.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.4487, allocations: 26.12 kB / 457.6 MB, free: 34.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009639/0.4497, allocations: 255.4 kB / 457.8 MB, free: 34.73 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002357/0.4521, allocations: 0.7742 MB / 458.6 MB, free: 34.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002721/0.4548, allocations: 0.7822 MB / 459.4 MB, free: 34.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002766/0.4576, allocations: 2.188 MB / 461.6 MB, free: 34.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007065/0.4583, allocations: 377.3 kB / 461.9 MB, free: 34.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.4597, allocations: 0.649 MB / 462.6 MB, free: 34.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008937/0.4606, allocations: 0.6073 MB / 463.2 MB, free: 34.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.914e-05/0.4607, allocations: 33.16 kB / 463.2 MB, free: 34.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008091/0.4615, allocations: 204.6 kB / 463.4 MB, free: 34.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.4618, allocations: 229.4 kB / 463.7 MB, free: 34.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.462, allocations: 163.1 kB / 463.8 MB, free: 34.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008052/0.4628, allocations: 0.7929 MB / 464.6 MB, free: 34.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4628, allocations: 0 / 464.6 MB, free: 34.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4628, allocations: 6.734 kB / 464.6 MB, free: 34.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.768e-06/0.4628, allocations: 0 / 464.6 MB, free: 34.02 MB / 382.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.001916/0.4648, allocations: 0.9063 MB / 465.5 MB, free: 33.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.4648, allocations: 9.844 kB / 465.5 MB, free: 33.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003721/0.4652, allocations: 85.22 kB / 465.6 MB, free: 33.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008651/0.4661, allocations: 0.4932 MB / 466.1 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.4662, allocations: 101.4 kB / 466.2 MB, free: 33.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.529e-05/0.4663, allocations: 48.45 kB / 466.3 MB, free: 33.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.4677, allocations: 0.8293 MB / 467.1 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.4678, allocations: 10.8 kB / 467.1 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.079e-05/0.4679, allocations: 23.86 kB / 467.1 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.014e-05/0.468, allocations: 40.88 kB / 467.2 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001277/0.4693, allocations: 0.6356 MB / 467.8 MB, free: 32.8 MB / 382.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.004101/0.4734, allocations: 4.342 MB / 472.1 MB, free: 29.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005635/0.474, allocations: 346.9 kB / 472.5 MB, free: 29.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.4742, allocations: 175.4 kB / 472.6 MB, free: 29.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/0.4758, allocations: 1.698 MB / 474.3 MB, free: 28.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.4758, allocations: 45.45 kB / 474.4 MB, free: 28.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.044e-06/0.4758, allocations: 0 / 474.4 MB, free: 28.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003164/0.479, allocations: 1.391 MB / 475.8 MB, free: 27.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.479, allocations: 134.8 kB / 475.9 MB, free: 27.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006699/0.4797, allocations: 0.628 MB / 476.5 MB, free: 27.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.4798, allocations: 35.92 kB / 476.6 MB, free: 27.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.48, allocations: 393.2 kB / 477 MB, free: 27.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.639e-05/0.4801, allocations: 143.7 kB / 477.1 MB, free: 27.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.4801, allocations: 13.66 kB / 477.1 MB, free: 27.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.4802, allocations: 377.3 kB / 477.5 MB, free: 26.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.4805, allocations: 187.2 kB / 477.7 MB, free: 26.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.4809, allocations: 0.5478 MB / 478.2 MB, free: 26.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004161/0.4814, allocations: 309.8 kB / 478.5 MB, free: 26.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.4814, allocations: 3.125 kB / 478.5 MB, free: 26.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001235/0.4826, allocations: 0.8166 MB / 479.3 MB, free: 26.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.4827, allocations: 11.25 kB / 479.3 MB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.4827, allocations: 12.78 kB / 479.4 MB, free: 26.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004585/0.4832, allocations: 111.3 kB / 479.5 MB, free: 26.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/0.4838, allocations: 181.6 kB / 479.6 MB, free: 26.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006238/0.4844, allocations: 0.663 MB / 480.3 MB, free: 25.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007144/0.4852, allocations: 43.3 kB / 480.3 MB, free: 25.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-05/0.4852, allocations: 38.39 kB / 480.4 MB, free: 25.69 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004403/0.4857, allocations: 261.8 kB / 480.6 MB, free: 25.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.4859, allocations: 70.92 kB / 480.7 MB, free: 25.51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009635/0.4868, allocations: 0.5027 MB / 481.2 MB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.4868, allocations: 6.656 kB / 481.2 MB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4869, allocations: 0 / 481.2 MB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.4869, allocations: 1.781 kB / 481.2 MB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/0.4887, allocations: 1.215 MB / 482.4 MB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4887, allocations: 3.094 kB / 482.4 MB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000287/0.489, allocations: 76.39 kB / 482.5 MB, free: 24.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000237/0.4892, allocations: 39.5 kB / 482.6 MB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.4893, allocations: 16.48 kB / 482.6 MB, free: 24.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002927/0.4896, allocations: 0.5577 MB / 483.1 MB, free: 24.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4896, allocations: 7.062 kB / 483.1 MB, free: 24.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007707/0.4904, allocations: 0.7194 MB / 483.9 MB, free: 24.14 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.4906, allocations: 193.5 kB / 484 MB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.283e-05/0.4907, allocations: 13.64 kB / 484.1 MB, free: 24.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.4911, allocations: 36.27 kB / 484.1 MB, free: 24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.4912, allocations: 33.3 kB / 484.1 MB, free: 24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.4912, allocations: 23 kB / 484.1 MB, free: 24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004916/0.4917, allocations: 453.9 kB / 484.6 MB, free: 23.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4917, allocations: 0 / 484.6 MB, free: 23.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008064/0.4925, allocations: 202.4 kB / 484.8 MB, free: 23.89 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004632/0.493, allocations: 227.1 kB / 485 MB, free: 23.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009469/0.4939, allocations: 0.5082 MB / 485.5 MB, free: 23.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.494, allocations: 0 / 485.5 MB, free: 23.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00029/0.4943, allocations: 177.9 kB / 485.7 MB, free: 23.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/0.4957, allocations: 317.8 kB / 486 MB, free: 23.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.4977, allocations: 1.517 MB / 487.5 MB, free: 22.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.4981, allocations: 0.9338 MB / 488.4 MB, free: 22.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000662/0.4988, allocations: 201.8 kB / 488.6 MB, free: 22.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.4989, allocations: 61.64 kB / 488.7 MB, free: 22.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.283e-06/0.4989, allocations: 0 / 488.7 MB, free: 22.16 MB / 382.1 MB Notification: Performance of Templates: time 0.02851/0.5274, allocations: 11.87 MB / 0.4888 GB, free: 21.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) Environment - environmentSimulation: