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.00608/0.00608, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.00148/0.00148, allocations: 196.8 kB / 16.68 MB, free: 5.965 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.439/1.439, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.4097/0.4097, allocations: 39.94 MB / 309.8 MB, free: 9.273 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.001713/0.001714, allocations: 64.52 kB / 435.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3801, allocations: 56.86 MB / 492.7 MB, free: 19.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01917/0.3993, allocations: 16.46 MB / 0.4972 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008872/0.4082, allocations: 5.463 MB / 0.5025 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.4094, allocations: 19.06 kB / 0.5026 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.4106, allocations: 317.2 kB / 0.5029 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.4129, allocations: 0.8191 MB / 0.5037 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.416, allocations: 1.006 MB / 0.5046 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002914/0.4189, allocations: 1.781 MB / 0.5064 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000835/0.4198, allocations: 459.5 kB / 0.5068 GB, free: 472 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.4216, allocations: 0.7555 MB / 0.5076 GB, free: 40 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.4227, allocations: 0.6114 MB / 0.5082 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.4228, allocations: 58.94 kB / 0.5082 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.4241, allocations: 342.9 kB / 0.5085 GB, free: 15.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.4245, allocations: 265.3 kB / 0.5088 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004932/0.425, allocations: 394 kB / 0.5092 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001967/0.4269, allocations: 1.117 MB / 0.5103 GB, free: 14.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.427, allocations: 0 / 0.5103 GB, free: 14.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.427, allocations: 1.156 kB / 0.5103 GB, free: 14.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.427, allocations: 0 / 0.5103 GB, free: 14.41 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.002398/0.4294, allocations: 1.043 MB / 0.5113 GB, free: 13.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.4295, allocations: 9.406 kB / 0.5113 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/0.4299, allocations: 88.36 kB / 0.5114 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.4309, allocations: 0.5316 MB / 0.5119 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.4311, allocations: 105.2 kB / 0.512 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.4312, allocations: 47.66 kB / 0.512 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.4327, allocations: 0.8399 MB / 0.5129 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.4327, allocations: 2.375 kB / 0.5129 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-05/0.4328, allocations: 27.16 kB / 0.5129 GB, free: 12.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-05/0.4329, allocations: 45.7 kB / 0.5129 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.434, allocations: 0.6367 MB / 0.5135 GB, free: 12.04 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.00536/0.4394, allocations: 4.335 MB / 0.5178 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008093/0.4402, allocations: 353.4 kB / 0.5181 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.4405, allocations: 176.3 kB / 0.5183 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002342/0.4429, allocations: 1.711 MB / 0.52 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.4429, allocations: 37.31 kB / 0.52 GB, free: 5.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 2.185e-06/0.4429, allocations: 0 / 0.52 GB, free: 5.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003825/0.4468, allocations: 1.389 MB / 0.5214 GB, free: 5.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.244e-05/0.4469, allocations: 133.8 kB / 0.5215 GB, free: 4.926 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008815/0.4478, allocations: 0.6315 MB / 0.5221 GB, free: 4.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.4478, allocations: 37.48 kB / 0.5221 GB, free: 4.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.4482, allocations: 392.7 kB / 0.5225 GB, free: 4.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.4484, allocations: 140.8 kB / 0.5226 GB, free: 4.043 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.4486, allocations: 143.4 kB / 0.5228 GB, free: 3.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4488, allocations: 375.1 kB / 0.5231 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.4492, allocations: 191.1 kB / 0.5233 GB, free: 3.504 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.4498, allocations: 0.553 MB / 0.5239 GB, free: 2.906 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.4509, allocations: 0.7829 MB / 0.5246 GB, free: 2.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.4509, allocations: 2.938 kB / 0.5246 GB, free: 2.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001497/0.4524, allocations: 0.8325 MB / 0.5254 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.4525, allocations: 8 kB / 0.5254 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.4525, allocations: 12 kB / 0.5255 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000447/0.4529, allocations: 104.9 kB / 0.5256 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006438/0.4536, allocations: 179.7 kB / 0.5257 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006469/0.4542, allocations: 0.6693 MB / 0.5264 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/0.4548, allocations: 32.05 kB / 0.5264 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.4549, allocations: 44 kB / 0.5265 GB, free: 0.6406 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.0003642/0.4552, allocations: 253.5 kB / 0.5267 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.4554, allocations: 67.16 kB / 0.5268 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009549/0.4563, allocations: 0.5006 MB / 0.5272 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.4563, allocations: 8 kB / 0.5273 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4564, allocations: 0 / 0.5273 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.557e-06/0.4564, allocations: 3.984 kB / 0.5273 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.4582, allocations: 1.222 MB / 0.5285 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.4583, allocations: 4 kB / 0.5285 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.4586, allocations: 71.89 kB / 0.5285 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/0.4587, allocations: 41.22 kB / 0.5286 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.4588, allocations: 11.98 kB / 0.5286 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003776/0.4592, allocations: 0.5679 MB / 0.5291 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.4592, allocations: 4 kB / 0.5291 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.4602, allocations: 0.7295 MB / 0.5298 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003035/0.4605, allocations: 192.2 kB / 0.53 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.875e-05/0.4606, allocations: 15.94 kB / 0.53 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.461, allocations: 12 kB / 0.5301 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.4611, allocations: 36.03 kB / 0.5301 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.4612, allocations: 27.98 kB / 0.5301 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006563/0.4618, allocations: 471 kB / 0.5306 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4618, allocations: 0 / 0.5306 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009553/0.4628, allocations: 207.9 kB / 0.5308 GB, free: 12 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.0008971/0.4637, allocations: 240.7 kB / 0.531 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.4648, allocations: 0.4968 MB / 0.5315 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.4648, allocations: 0 / 0.5315 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004002/0.4652, allocations: 185.9 kB / 0.5317 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.467, allocations: 358.5 kB / 0.532 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.4699, allocations: 1.305 MB / 0.5333 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007886/0.4707, allocations: 0.9493 MB / 0.5342 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007151/0.4714, allocations: 205.9 kB / 0.5344 GB, free: 8.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.4716, allocations: 59.44 kB / 0.5345 GB, free: 8.121 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4716, allocations: 0 / 0.5345 GB, free: 8.121 MB / 414.1 MB Notification: Performance of Templates: time 0.02794/0.4996, allocations: 13.8 MB / 0.5479 GB, free: 10.33 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)