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.001272/0.001272, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001416/0.001416, allocations: 177.3 kB / 15.95 MB, free: 216 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.328/1.328, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.3118/0.3118, allocations: 40 MB / 310.4 MB, free: 9.66 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.0006134/0.0006136, allocations: 16 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1078, allocations: 57.95 MB / 436.8 MB, free: 2.301 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01561/0.1235, allocations: 14.16 MB / 450.9 MB, free: 4.086 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2088/0.3324, allocations: 4.731 MB / 455.7 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009681/0.3334, allocations: 25.09 kB / 455.7 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.3346, allocations: 274.2 kB / 456 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.3371, allocations: 0.6809 MB / 456.6 MB, free: 34.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.3396, allocations: 0.7822 MB / 457.4 MB, free: 34.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00178/0.3414, allocations: 1.025 MB / 458.4 MB, free: 34.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006703/0.342, allocations: 388.4 kB / 458.8 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00101/0.3431, allocations: 0.5607 MB / 459.4 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.3436, allocations: 399 kB / 459.8 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.309e-05/0.3437, allocations: 31.09 kB / 459.8 MB, free: 34.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008397/0.3445, allocations: 245.1 kB / 460 MB, free: 34.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.3448, allocations: 214 kB / 460.3 MB, free: 34.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.345, allocations: 163.6 kB / 460.4 MB, free: 34.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008625/0.3459, allocations: 0.7841 MB / 461.2 MB, free: 34.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3459, allocations: 0 / 461.2 MB, free: 34.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3459, allocations: 0 / 461.2 MB, free: 34.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.3459, allocations: 0 / 461.2 MB, free: 34.76 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.001633/0.3476, allocations: 0.9122 MB / 462.1 MB, free: 34.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3476, allocations: 9.188 kB / 462.1 MB, free: 34.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003217/0.348, allocations: 90.39 kB / 462.2 MB, free: 34.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006792/0.3486, allocations: 0.4891 MB / 462.7 MB, free: 33.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.317e-05/0.3487, allocations: 97.2 kB / 462.8 MB, free: 33.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.39e-05/0.3488, allocations: 50.45 kB / 462.8 MB, free: 33.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.3498, allocations: 0.832 MB / 463.7 MB, free: 33.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.3499, allocations: 0 / 463.7 MB, free: 33.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.3499, allocations: 26.28 kB / 463.7 MB, free: 33.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.35, allocations: 42.75 kB / 463.7 MB, free: 33.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008489/0.3508, allocations: 0.6383 MB / 464.4 MB, free: 33.59 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.003652/0.3545, allocations: 4.363 MB / 468.7 MB, free: 30.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/0.3551, allocations: 343.5 kB / 469.1 MB, free: 30.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001576/0.3567, allocations: 1.721 MB / 470.8 MB, free: 29.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.3568, allocations: 40.84 kB / 470.8 MB, free: 29.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.803e-06/0.3568, allocations: 0 / 470.8 MB, free: 29.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.002995/0.3598, allocations: 1.399 MB / 472.2 MB, free: 28.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.3598, allocations: 131.8 kB / 472.4 MB, free: 28.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005742/0.3604, allocations: 0.6243 MB / 473 MB, free: 28.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.3604, allocations: 31.95 kB / 473 MB, free: 28.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.3606, allocations: 399.8 kB / 473.4 MB, free: 28.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.738e-05/0.3607, allocations: 137.6 kB / 473.5 MB, free: 28.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.3607, allocations: 14.81 kB / 473.6 MB, free: 28.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.3608, allocations: 382.3 kB / 473.9 MB, free: 27.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.3611, allocations: 185.1 kB / 474.1 MB, free: 27.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.3615, allocations: 0.5442 MB / 474.7 MB, free: 27.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.3619, allocations: 302.4 kB / 475 MB, free: 27.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.3619, allocations: 3.25 kB / 475 MB, free: 27.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001139/0.363, allocations: 0.8249 MB / 475.8 MB, free: 27.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.363, allocations: 10.03 kB / 475.8 MB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3631, allocations: 13.22 kB / 475.8 MB, free: 27.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/0.3634, allocations: 105.4 kB / 475.9 MB, free: 27.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.364, allocations: 182.4 kB / 476.1 MB, free: 27.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004348/0.3645, allocations: 0.6725 MB / 476.8 MB, free: 26.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.365, allocations: 35.05 kB / 476.8 MB, free: 26.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.455e-05/0.3651, allocations: 43.86 kB / 476.8 MB, free: 26.64 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.0003975/0.3655, allocations: 264 kB / 477.1 MB, free: 26.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3656, allocations: 70.64 kB / 477.2 MB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008859/0.3665, allocations: 0.506 MB / 477.7 MB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.3665, allocations: 2.906 kB / 477.7 MB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3665, allocations: 4 kB / 477.7 MB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3665, allocations: 3.375 kB / 477.7 MB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.3682, allocations: 1.214 MB / 478.9 MB, free: 25.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3683, allocations: 2.844 kB / 478.9 MB, free: 25.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.3685, allocations: 74.52 kB / 479 MB, free: 25.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001563/0.3687, allocations: 39.06 kB / 479 MB, free: 25.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.3687, allocations: 14.84 kB / 479 MB, free: 25.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002543/0.369, allocations: 0.5693 MB / 479.6 MB, free: 25.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.369, allocations: 4.719 kB / 479.6 MB, free: 25.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009013/0.3699, allocations: 0.8719 MB / 480.5 MB, free: 24.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002507/0.3702, allocations: 194.2 kB / 480.7 MB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.645e-05/0.3703, allocations: 12.91 kB / 480.7 MB, free: 24.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.3707, allocations: 32.75 kB / 480.7 MB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.3708, allocations: 27.84 kB / 480.7 MB, free: 24.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.3708, allocations: 28.25 kB / 480.8 MB, free: 24.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005374/0.3714, allocations: 442.8 kB / 481.2 MB, free: 24.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3714, allocations: 2.625 kB / 481.2 MB, free: 24.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009253/0.3723, allocations: 207.2 kB / 481.4 MB, free: 24.68 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.0005121/0.3728, allocations: 233.2 kB / 481.6 MB, free: 24.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.3739, allocations: 499.4 kB / 482.1 MB, free: 24.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.3739, allocations: 3.562 kB / 482.1 MB, free: 24.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003105/0.3742, allocations: 184.6 kB / 482.3 MB, free: 24.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.3755, allocations: 301.3 kB / 482.6 MB, free: 24.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.3774, allocations: 1.526 MB / 484.1 MB, free: 23.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.3779, allocations: 0.9548 MB / 485.1 MB, free: 22.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006416/0.3785, allocations: 200.2 kB / 485.3 MB, free: 22.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.3786, allocations: 58.53 kB / 485.3 MB, free: 22.95 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3786, allocations: 2.906 kB / 485.3 MB, free: 22.95 MB / 382.1 MB Notification: Performance of Templates: time 0.02216/0.4008, allocations: 11.83 MB / 497.1 MB, free: 21.9 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: