Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 91.84 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.001815/0.001815, 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.776/1.776, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.3922/0.3922, allocations: 39.99 MB / 310.4 MB, free: 10 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.0006102/0.0006104, allocations: 12 kB / 378.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1473, allocations: 57.96 MB / 436.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.2877/0.435, allocations: 19.15 MB / 456 MB, free: 35.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005615/0.4407, allocations: 4.138 MB / 460.1 MB, free: 35.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007985/0.4415, allocations: 19.91 kB / 460.1 MB, free: 35.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.4423, allocations: 256.9 kB / 460.4 MB, free: 35.04 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.001764/0.444, allocations: 0.7985 MB / 461.2 MB, free: 34.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.4461, allocations: 0.6812 MB / 461.9 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002024/0.4482, allocations: 2.192 MB / 464 MB, free: 34.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005502/0.4487, allocations: 379 kB / 464.4 MB, free: 34.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.4502, allocations: 0.7724 MB / 465.2 MB, free: 34.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008357/0.4511, allocations: 0.6234 MB / 465.8 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.833e-05/0.4512, allocations: 31.16 kB / 465.8 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006553/0.4518, allocations: 207.4 kB / 466 MB, free: 34.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000205/0.4521, allocations: 229.9 kB / 466.3 MB, free: 34.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.4522, allocations: 163.9 kB / 466.4 MB, free: 34.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006364/0.4529, allocations: 0.7645 MB / 467.2 MB, free: 34.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4529, allocations: 3.344 kB / 467.2 MB, free: 34.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4529, allocations: 0 / 467.2 MB, free: 34.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.4529, allocations: 4 kB / 467.2 MB, free: 34.09 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.001699/0.4546, allocations: 0.9216 MB / 468.1 MB, free: 33.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.4546, allocations: 9.906 kB / 468.1 MB, free: 33.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.4549, allocations: 84.09 kB / 468.2 MB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006823/0.4556, allocations: 0.4955 MB / 468.7 MB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/0.4557, allocations: 99.91 kB / 468.8 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.167e-05/0.4558, allocations: 49.19 kB / 468.9 MB, free: 33.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.4569, allocations: 0.8154 MB / 469.7 MB, free: 32.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.457, allocations: 6.875 kB / 469.7 MB, free: 32.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/0.457, allocations: 28.75 kB / 469.7 MB, free: 32.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/0.4571, allocations: 41.16 kB / 469.7 MB, free: 32.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008856/0.458, allocations: 0.6378 MB / 470.4 MB, free: 32.89 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.003687/0.4617, allocations: 4.226 MB / 474.6 MB, free: 30.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/0.4624, allocations: 414.5 kB / 475 MB, free: 30.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.4628, allocations: 208.6 kB / 475.2 MB, free: 30.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/0.4632, allocations: 0.499 MB / 475.7 MB, free: 29.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.4632, allocations: 36.27 kB / 475.7 MB, free: 29.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.4632, allocations: 0 / 475.7 MB, free: 29.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.002879/0.4661, allocations: 1.528 MB / 477.3 MB, free: 29.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.4662, allocations: 135.9 kB / 477.4 MB, free: 28.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006187/0.4668, allocations: 0.5655 MB / 478 MB, free: 28.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.4668, allocations: 35.36 kB / 478 MB, free: 28.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.467, allocations: 358.8 kB / 478.4 MB, free: 28.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.4671, allocations: 165.1 kB / 478.5 MB, free: 28.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.4672, allocations: 10.5 kB / 478.5 MB, free: 28.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4673, allocations: 373 kB / 478.9 MB, free: 28.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.4676, allocations: 224.2 kB / 479.1 MB, free: 28.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.4681, allocations: 0.5218 MB / 479.6 MB, free: 27.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.4685, allocations: 318.7 kB / 479.9 MB, free: 27.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.4685, allocations: 3 kB / 480 MB, free: 27.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001619/0.4701, allocations: 0.9592 MB / 480.9 MB, free: 27.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4702, allocations: 9.344 kB / 480.9 MB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4702, allocations: 10.31 kB / 480.9 MB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.4712, allocations: 278.9 kB / 481.2 MB, free: 27.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.4716, allocations: 122.2 kB / 481.3 MB, free: 27.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009045/0.4725, allocations: 0.8514 MB / 482.2 MB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006949/0.4732, allocations: 60.38 kB / 482.2 MB, free: 26.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.4733, allocations: 38.09 kB / 482.3 MB, free: 26.95 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004769/0.4738, allocations: 247.2 kB / 482.5 MB, free: 26.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.4739, allocations: 62.97 kB / 482.6 MB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.4754, allocations: 0.7221 MB / 483.3 MB, free: 26.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.4754, allocations: 7.375 kB / 483.3 MB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4754, allocations: 3.125 kB / 483.3 MB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4754, allocations: 3.562 kB / 483.3 MB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002014/0.4775, allocations: 1.395 MB / 484.7 MB, free: 25.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4775, allocations: 2.953 kB / 484.7 MB, free: 25.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/0.4784, allocations: 197.2 kB / 484.9 MB, free: 25.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002812/0.4786, allocations: 63.58 kB / 485 MB, free: 25.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.4787, allocations: 17.8 kB / 485 MB, free: 25.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.4805, allocations: 2.792 MB / 487.8 MB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4805, allocations: 0 / 487.8 MB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.4818, allocations: 0.993 MB / 488.8 MB, free: 22.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002656/0.4821, allocations: 200.1 kB / 489 MB, free: 22.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.471e-05/0.4821, allocations: 10.22 kB / 489 MB, free: 22.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.4825, allocations: 36.17 kB / 489 MB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4826, allocations: 40.22 kB / 489 MB, free: 22.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.045e-05/0.4827, allocations: 19.59 kB / 489.1 MB, free: 22.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004311/0.4831, allocations: 392.4 kB / 489.4 MB, free: 22.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4831, allocations: 4 kB / 489.4 MB, free: 22.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000909/0.484, allocations: 211.2 kB / 489.7 MB, free: 22.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004766/0.4845, allocations: 225.8 kB / 489.9 MB, free: 22.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.4857, allocations: 0.5995 MB / 490.5 MB, free: 21.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4857, allocations: 0 / 490.5 MB, free: 21.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.4868, allocations: 492.9 kB / 491 MB, free: 21.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.4883, allocations: 331 kB / 491.3 MB, free: 21.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/0.4906, allocations: 1.65 MB / 492.9 MB, free: 20.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.4911, allocations: 0.9374 MB / 493.9 MB, free: 19.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006957/0.4918, allocations: 213.8 kB / 494.1 MB, free: 19.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.492, allocations: 61.61 kB / 494.1 MB, free: 19.81 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.492, allocations: 0 / 494.1 MB, free: 19.81 MB / 382.1 MB Notification: Performance of Templates: time 0.0275/0.5195, allocations: 13.49 MB / 0.4957 GB, free: 17.1 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) Environment - environmentSimulation: