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.005617/0.005617, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.001318/0.001319, allocations: 197.4 kB / 16.67 MB, free: 5.973 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.584/1.584, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.3854/0.3854, allocations: 39.95 MB / 309.9 MB, free: 9.426 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.001438/0.001438, allocations: 67.89 kB / 435.8 MB, free: 2.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3176, allocations: 56.87 MB / 492.7 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01599/0.3336, allocations: 16.44 MB / 0.4972 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007045/0.3407, allocations: 5.474 MB / 0.5025 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008838/0.3416, allocations: 18.78 kB / 0.5026 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009094/0.3426, allocations: 321.4 kB / 0.5029 GB, free: 3.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.3444, allocations: 0.8215 MB / 0.5037 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.347, allocations: 0.995 MB / 0.5046 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.3491, allocations: 1.785 MB / 0.5064 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006103/0.3497, allocations: 459.7 kB / 0.5068 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.3512, allocations: 0.744 MB / 0.5075 GB, free: 100 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.3522, allocations: 0.6105 MB / 0.5081 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.3524, allocations: 58.47 kB / 0.5082 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001301/0.3537, allocations: 344.4 kB / 0.5085 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003157/0.354, allocations: 272.6 kB / 0.5088 GB, free: 15.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004876/0.3545, allocations: 389.8 kB / 0.5092 GB, free: 15.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.3563, allocations: 1.116 MB / 0.5102 GB, free: 14.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3563, allocations: 1.156 kB / 0.5102 GB, free: 14.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3563, allocations: 0 / 0.5102 GB, free: 14.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.3563, allocations: 0 / 0.5102 GB, free: 14.47 MB / 398.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.002411/0.3588, allocations: 1.071 MB / 0.5113 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.86e-05/0.3588, allocations: 8.531 kB / 0.5113 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004682/0.3593, allocations: 93.2 kB / 0.5114 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.3607, allocations: 0.536 MB / 0.5119 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.3609, allocations: 104 kB / 0.512 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/0.3611, allocations: 52.92 kB / 0.5121 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00214/0.3633, allocations: 0.8359 MB / 0.5129 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.3633, allocations: 5.344 kB / 0.5129 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.3634, allocations: 28.33 kB / 0.5129 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.3636, allocations: 41.59 kB / 0.513 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.365, allocations: 0.6371 MB / 0.5136 GB, free: 12.06 MB / 398.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.005501/0.3706, allocations: 4.343 MB / 0.5178 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/0.3714, allocations: 353.7 kB / 0.5182 GB, free: 7.859 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.3717, allocations: 177.5 kB / 0.5183 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002108/0.3738, allocations: 1.702 MB / 0.52 GB, free: 6.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.3739, allocations: 41.73 kB / 0.52 GB, free: 5.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.793e-06/0.3739, allocations: 4 kB / 0.52 GB, free: 5.957 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.004037/0.3779, allocations: 1.399 MB / 0.5214 GB, free: 5.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.823e-05/0.378, allocations: 137 kB / 0.5215 GB, free: 4.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.3791, allocations: 0.6279 MB / 0.5221 GB, free: 4.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.3792, allocations: 36.33 kB / 0.5222 GB, free: 4.516 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/0.3797, allocations: 407.2 kB / 0.5226 GB, free: 4.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.3798, allocations: 140.7 kB / 0.5227 GB, free: 4.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.3801, allocations: 152 kB / 0.5228 GB, free: 3.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002674/0.3803, allocations: 375.8 kB / 0.5232 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.3807, allocations: 189.6 kB / 0.5234 GB, free: 3.488 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006711/0.3814, allocations: 0.5532 MB / 0.5239 GB, free: 2.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.3825, allocations: 0.7798 MB / 0.5247 GB, free: 2.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3826, allocations: 2.594 kB / 0.5247 GB, free: 2.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001677/0.3842, allocations: 0.8342 MB / 0.5255 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.3843, allocations: 12 kB / 0.5255 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.3843, allocations: 12 kB / 0.5255 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004736/0.3848, allocations: 92.8 kB / 0.5256 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/0.3856, allocations: 183.7 kB / 0.5258 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006441/0.3863, allocations: 0.6772 MB / 0.5264 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005992/0.3869, allocations: 28 kB / 0.5265 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/0.387, allocations: 36 kB / 0.5265 GB, free: 0.6055 MB / 398.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.0004947/0.3875, allocations: 257.6 kB / 0.5268 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.3876, allocations: 71.56 kB / 0.5268 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000954/0.3886, allocations: 0.5157 MB / 0.5273 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3886, allocations: 4 kB / 0.5273 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3886, allocations: 0 / 0.5273 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3886, allocations: 0 / 0.5273 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.3908, allocations: 1.222 MB / 0.5285 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/0.3909, allocations: 4.375 kB / 0.5285 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002925/0.3912, allocations: 75.91 kB / 0.5286 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001727/0.3913, allocations: 40.83 kB / 0.5286 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.3914, allocations: 16 kB / 0.5287 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004154/0.3918, allocations: 0.564 MB / 0.5292 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.3918, allocations: 11.88 kB / 0.5292 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009968/0.3928, allocations: 0.7338 MB / 0.5299 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002621/0.3931, allocations: 188.6 kB / 0.5301 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.825e-05/0.3932, allocations: 16 kB / 0.5301 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.3936, allocations: 15.98 kB / 0.5301 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.3936, allocations: 31.97 kB / 0.5302 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.3937, allocations: 23.98 kB / 0.5302 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005711/0.3943, allocations: 475 kB / 0.5306 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3943, allocations: 0 / 0.5306 GB, free: 12.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008689/0.3952, allocations: 199.9 kB / 0.5308 GB, free: 11.95 MB / 414.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.0005961/0.3958, allocations: 247.9 kB / 0.5311 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.3968, allocations: 0.4937 MB / 0.5316 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3968, allocations: 0.8125 kB / 0.5316 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003313/0.3971, allocations: 191.8 kB / 0.5317 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.3988, allocations: 355 kB / 0.5321 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.4009, allocations: 1.319 MB / 0.5334 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.4014, allocations: 0.9376 MB / 0.5343 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006201/0.402, allocations: 209.9 kB / 0.5345 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.4022, allocations: 59.44 kB / 0.5345 GB, free: 8.055 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4022, allocations: 0 / 0.5345 GB, free: 8.055 MB / 414.1 MB Notification: Performance of Templates: time 0.02451/0.4267, allocations: 13.63 MB / 0.5478 GB, free: 10.43 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (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)