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.0008816/0.0008818, 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.001013/0.001013, 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.38/1.38, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.3042/0.3042, allocations: 38.04 MB / 308.4 MB, free: 10.46 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.0005434/0.0005435, allocations: 19.98 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1219, allocations: 57.51 MB / 434 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01535/0.1373, allocations: 15.55 MB / 449.5 MB, free: 5.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006265/0.1436, allocations: 5.204 MB / 454.7 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006691/0.1443, allocations: 19.81 kB / 454.7 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007454/0.1451, allocations: 266.3 kB / 455 MB, free: 428 kB / 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.2167/0.3618, allocations: 0.7725 MB / 455.8 MB, free: 34.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.3644, allocations: 0.7721 MB / 456.6 MB, free: 34.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002463/0.3668, allocations: 2.189 MB / 458.7 MB, free: 34.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006173/0.3675, allocations: 384.9 kB / 459.1 MB, free: 34.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.3685, allocations: 0.6443 MB / 459.8 MB, free: 34.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006488/0.3692, allocations: 0.6003 MB / 460.4 MB, free: 34.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.323e-05/0.3692, allocations: 33.22 kB / 460.4 MB, free: 34.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006424/0.3699, allocations: 210.9 kB / 460.6 MB, free: 34.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.3701, allocations: 230.2 kB / 460.8 MB, free: 34.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.3702, allocations: 164.7 kB / 461 MB, free: 34.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000657/0.3709, allocations: 0.7921 MB / 461.8 MB, free: 34.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3709, allocations: 3.219 kB / 461.8 MB, free: 34.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3709, allocations: 0 / 461.8 MB, free: 34.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.3709, allocations: 0 / 461.8 MB, free: 34.31 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.001594/0.3725, allocations: 0.9047 MB / 462.7 MB, free: 33.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3726, allocations: 13.28 kB / 462.7 MB, free: 33.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003023/0.3729, allocations: 92.11 kB / 462.8 MB, free: 33.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006576/0.3736, allocations: 494 kB / 463.3 MB, free: 33.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.24e-05/0.3736, allocations: 101 kB / 463.4 MB, free: 33.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.3737, allocations: 51.69 kB / 463.4 MB, free: 33.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.3747, allocations: 0.8304 MB / 464.2 MB, free: 33.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.3748, allocations: 13.19 kB / 464.3 MB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.096e-05/0.3748, allocations: 22.77 kB / 464.3 MB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-05/0.3749, allocations: 36.95 kB / 464.3 MB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.3759, allocations: 0.6399 MB / 465 MB, free: 33.09 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.003765/0.3797, allocations: 4.329 MB / 469.3 MB, free: 30.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.3803, allocations: 343.1 kB / 469.6 MB, free: 30.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/0.3805, allocations: 190.2 kB / 469.8 MB, free: 30.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/0.3819, allocations: 1.702 MB / 471.5 MB, free: 28.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.382, allocations: 37.78 kB / 471.6 MB, free: 28.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.934e-06/0.382, allocations: 0 / 471.6 MB, free: 28.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=37): time 0.003185/0.3852, allocations: 1.4 MB / 472.9 MB, free: 28.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.3853, allocations: 131.8 kB / 473.1 MB, free: 27.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006246/0.3859, allocations: 0.6299 MB / 473.7 MB, free: 27.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.3859, allocations: 32.48 kB / 473.7 MB, free: 27.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.3861, allocations: 394.6 kB / 474.1 MB, free: 27.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.3862, allocations: 136.8 kB / 474.3 MB, free: 27.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/0.3863, allocations: 13.34 kB / 474.3 MB, free: 27.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3864, allocations: 374.4 kB / 474.6 MB, free: 27.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.3867, allocations: 186.3 kB / 474.8 MB, free: 27.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.3871, allocations: 0.5529 MB / 475.4 MB, free: 26.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.3875, allocations: 308.1 kB / 475.7 MB, free: 26.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3875, allocations: 3.312 kB / 475.7 MB, free: 26.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001138/0.3886, allocations: 0.8178 MB / 476.5 MB, free: 26.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.3887, allocations: 9.281 kB / 476.5 MB, free: 26.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.3887, allocations: 14.28 kB / 476.5 MB, free: 26.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003681/0.3891, allocations: 99.81 kB / 476.6 MB, free: 26.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/0.3897, allocations: 188.8 kB / 476.8 MB, free: 26.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004215/0.3901, allocations: 0.6654 MB / 477.5 MB, free: 25.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.3905, allocations: 37.52 kB / 477.5 MB, free: 25.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.3906, allocations: 47.06 kB / 477.5 MB, free: 25.98 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.0002488/0.3909, allocations: 261.6 kB / 477.8 MB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.302e-05/0.3909, allocations: 67.47 kB / 477.9 MB, free: 25.81 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007137/0.3917, allocations: 0.5025 MB / 478.4 MB, free: 25.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3917, allocations: 3 kB / 478.4 MB, free: 25.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3917, allocations: 2.625 kB / 478.4 MB, free: 25.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3917, allocations: 6.125 kB / 478.4 MB, free: 25.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.3931, allocations: 1.21 MB / 479.6 MB, free: 25.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3931, allocations: 3.281 kB / 479.6 MB, free: 25.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/0.3934, allocations: 77.22 kB / 479.7 MB, free: 25.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001353/0.3935, allocations: 42.72 kB / 479.7 MB, free: 25.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.3936, allocations: 10.41 kB / 479.7 MB, free: 25.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000218/0.3938, allocations: 0.5639 MB / 480.3 MB, free: 24.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3938, allocations: 7.25 kB / 480.3 MB, free: 24.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006965/0.3945, allocations: 0.7259 MB / 481 MB, free: 24.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.3947, allocations: 194.4 kB / 481.2 MB, free: 24.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.864e-05/0.3948, allocations: 11.02 kB / 481.2 MB, free: 24.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.3951, allocations: 38.14 kB / 481.3 MB, free: 24.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.3952, allocations: 33.28 kB / 481.3 MB, free: 24.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.3952, allocations: 21.75 kB / 481.3 MB, free: 24.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000411/0.3957, allocations: 444.3 kB / 481.7 MB, free: 24.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3957, allocations: 0 / 481.7 MB, free: 24.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007175/0.3964, allocations: 207.9 kB / 481.9 MB, free: 24.19 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.0004004/0.3968, allocations: 226.1 kB / 482.2 MB, free: 24.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008394/0.3976, allocations: 0.4978 MB / 482.7 MB, free: 24.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3977, allocations: 5.641 kB / 482.7 MB, free: 24.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.398, allocations: 190.3 kB / 482.9 MB, free: 24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.3993, allocations: 313.5 kB / 483.2 MB, free: 23.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.401, allocations: 1.518 MB / 484.7 MB, free: 23.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.4013, allocations: 0.9398 MB / 485.6 MB, free: 22.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006183/0.4019, allocations: 202.2 kB / 485.8 MB, free: 22.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.402, allocations: 60.31 kB / 485.9 MB, free: 22.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.402, allocations: 0 / 485.9 MB, free: 22.46 MB / 382.1 MB Notification: Performance of Templates: time 0.01981/0.4219, allocations: 11.87 MB / 497.7 MB, free: 21.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: