Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_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.1_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.001505/0.001506, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001726/0.001727, allocations: 192.6 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3603/0.3603, allocations: 37.98 MB / 307.3 MB, free: 10.04 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.1. 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.001354/0.001354, allocations: 60.34 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1578, allocations: 56.48 MB / 431 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01847/0.1763, allocations: 16.96 MB / 448 MB, free: 6.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007697/0.1841, allocations: 5.602 MB / 453.6 MB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.1853, allocations: 23.81 kB / 453.6 MB, free: 384 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.1865, allocations: 282.5 kB / 453.9 MB, free: 100 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2588/0.4454, allocations: 0.7769 MB / 454.7 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002853/0.4483, allocations: 0.904 MB / 455.6 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002228/0.4505, allocations: 2.656 MB / 458.2 MB, free: 35.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000511/0.451, allocations: 400.1 kB / 458.6 MB, free: 35.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009376/0.452, allocations: 0.6542 MB / 459.3 MB, free: 35.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007038/0.4527, allocations: 0.6352 MB / 459.9 MB, free: 34.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.489e-05/0.4528, allocations: 33.03 kB / 459.9 MB, free: 34.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008475/0.4536, allocations: 339.6 kB / 460.3 MB, free: 34.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.4539, allocations: 241.1 kB / 460.5 MB, free: 34.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.4542, allocations: 369.4 kB / 460.9 MB, free: 34.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.4553, allocations: 1.082 MB / 462 MB, free: 34.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4553, allocations: 0 / 462 MB, free: 34.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.4553, allocations: 0 / 462 MB, free: 34.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.4554, allocations: 0 / 462 MB, free: 34.7 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.00198/0.4573, allocations: 1.044 MB / 463 MB, free: 34.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4574, allocations: 10.28 kB / 463 MB, free: 34.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003618/0.4578, allocations: 91.19 kB / 463.1 MB, free: 34.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006748/0.4584, allocations: 0.5081 MB / 463.6 MB, free: 33.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.4585, allocations: 107.7 kB / 463.7 MB, free: 33.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.4586, allocations: 53.61 kB / 463.8 MB, free: 33.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.4597, allocations: 0.8275 MB / 464.6 MB, free: 33.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.4597, allocations: 7.422 kB / 464.6 MB, free: 33.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.108e-05/0.4598, allocations: 28.42 kB / 464.6 MB, free: 33.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.604e-05/0.4598, allocations: 38.28 kB / 464.7 MB, free: 33.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/0.4607, allocations: 0.6402 MB / 465.3 MB, free: 33.48 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.003617/0.4643, allocations: 4.338 MB / 469.6 MB, free: 30.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.4649, allocations: 354.1 kB / 470 MB, free: 30.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/0.4651, allocations: 170.3 kB / 470.2 MB, free: 30.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/0.4665, allocations: 1.708 MB / 471.9 MB, free: 29.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.4666, allocations: 40.16 kB / 471.9 MB, free: 28.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.743e-06/0.4666, allocations: 3.188 kB / 471.9 MB, free: 28.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003108/0.4697, allocations: 1.386 MB / 473.3 MB, free: 28.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.4697, allocations: 135.8 kB / 473.4 MB, free: 28.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006325/0.4704, allocations: 0.6293 MB / 474.1 MB, free: 28.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.4704, allocations: 37.83 kB / 474.1 MB, free: 28.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.4707, allocations: 400.7 kB / 474.5 MB, free: 28.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.4708, allocations: 131.6 kB / 474.6 MB, free: 27.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.471, allocations: 151 kB / 474.8 MB, free: 27.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.4711, allocations: 375.5 kB / 475.1 MB, free: 27.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.4713, allocations: 184.8 kB / 475.3 MB, free: 27.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.4718, allocations: 0.556 MB / 475.9 MB, free: 27.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007445/0.4725, allocations: 0.7858 MB / 476.6 MB, free: 26.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.4725, allocations: 6.344 kB / 476.7 MB, free: 26.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001134/0.4737, allocations: 0.826 MB / 477.5 MB, free: 26.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.4737, allocations: 9.312 kB / 477.5 MB, free: 26.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.4737, allocations: 15.97 kB / 477.5 MB, free: 26.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000385/0.4741, allocations: 93.92 kB / 477.6 MB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/0.4748, allocations: 184.1 kB / 477.8 MB, free: 26.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000465/0.4752, allocations: 0.6724 MB / 478.4 MB, free: 25.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.4757, allocations: 36.47 kB / 478.5 MB, free: 25.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.4758, allocations: 41.34 kB / 478.5 MB, free: 25.54 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 (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.0003085/0.4761, allocations: 257 kB / 478.8 MB, free: 25.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.4762, allocations: 66.09 kB / 478.8 MB, free: 25.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007456/0.477, allocations: 0.5037 MB / 479.3 MB, free: 25.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.477, allocations: 10.34 kB / 479.4 MB, free: 25.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.477, allocations: 0 / 479.4 MB, free: 25.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.477, allocations: 3.234 kB / 479.4 MB, free: 25.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.4785, allocations: 1.218 MB / 480.6 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.4785, allocations: 10.81 kB / 480.6 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.4788, allocations: 67 kB / 480.7 MB, free: 24.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/0.479, allocations: 46.06 kB / 480.7 MB, free: 24.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.479, allocations: 13.41 kB / 480.7 MB, free: 24.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002254/0.4792, allocations: 0.5641 MB / 481.3 MB, free: 23.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4793, allocations: 9.75 kB / 481.3 MB, free: 23.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00076/0.48, allocations: 0.7247 MB / 482 MB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.4802, allocations: 194.9 kB / 482.2 MB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/0.4803, allocations: 14.28 kB / 482.2 MB, free: 23.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.4807, allocations: 31.98 kB / 482.2 MB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/0.4808, allocations: 37.11 kB / 482.3 MB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.4808, allocations: 23.44 kB / 482.3 MB, free: 23.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004351/0.4813, allocations: 465.9 kB / 482.8 MB, free: 22.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4813, allocations: 0 / 482.8 MB, free: 22.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000725/0.482, allocations: 209.1 kB / 483 MB, free: 22.93 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 (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.0004574/0.4825, allocations: 240.5 kB / 483.2 MB, free: 22.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008008/0.4833, allocations: 0.4978 MB / 483.7 MB, free: 22.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.4833, allocations: 10.23 kB / 483.7 MB, free: 22.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.4836, allocations: 175.9 kB / 483.9 MB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/0.4851, allocations: 341.1 kB / 484.2 MB, free: 22.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.4869, allocations: 1.513 MB / 485.7 MB, free: 21.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.4872, allocations: 0.9385 MB / 486.7 MB, free: 20.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006848/0.4879, allocations: 218.2 kB / 486.9 MB, free: 20.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.4881, allocations: 60.94 kB / 486.9 MB, free: 20.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4881, allocations: 0 / 486.9 MB, free: 20.79 MB / 382.1 MB Notification: Performance of Templates: time 0.0315/0.5196, allocations: 12.95 MB / 499.9 MB, free: 19.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1)