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.009993/0.009993, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001972/0.001972, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.479/1.479, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.3392/0.3392, allocations: 38 MB / 307.9 MB, free: 10.1 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.001459/0.001459, allocations: 67.91 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4014, allocations: 56.46 MB / 489.5 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01654/0.418, allocations: 16.44 MB / 0.4941 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007973/0.426, allocations: 5.47 MB / 0.4994 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.4274, allocations: 18.53 kB / 0.4994 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.4288, allocations: 322.6 kB / 0.4997 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002672/0.4314, allocations: 0.8243 MB / 0.5005 GB, free: 3.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.4349, allocations: 0.9931 MB / 0.5015 GB, free: 2.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.4378, allocations: 1.785 MB / 0.5033 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006559/0.4385, allocations: 459 kB / 0.5037 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001396/0.4399, allocations: 0.7489 MB / 0.5044 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.4409, allocations: 0.6138 MB / 0.505 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.4411, allocations: 63.47 kB / 0.5051 GB, free: 1.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.4422, allocations: 342.5 kB / 0.5054 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.4425, allocations: 261 kB / 0.5057 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004187/0.4429, allocations: 393.9 kB / 0.506 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.4447, allocations: 1.117 MB / 0.5071 GB, free: 15.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.4447, allocations: 1 kB / 0.5071 GB, free: 15.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4447, allocations: 0 / 0.5071 GB, free: 15.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.721e-05/0.4447, allocations: 0 / 0.5071 GB, free: 15.79 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.002395/0.4471, allocations: 1.048 MB / 0.5082 GB, free: 14.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.4472, allocations: 8.969 kB / 0.5082 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/0.4476, allocations: 88.95 kB / 0.5082 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.4487, allocations: 0.5379 MB / 0.5088 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.4488, allocations: 101 kB / 0.5089 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.4489, allocations: 52.05 kB / 0.5089 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.4504, allocations: 0.8287 MB / 0.5097 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.4504, allocations: 6.375 kB / 0.5097 GB, free: 13.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.299e-05/0.4505, allocations: 30.98 kB / 0.5098 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.365e-05/0.4506, allocations: 41.78 kB / 0.5098 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.4518, allocations: 0.641 MB / 0.5104 GB, free: 13.41 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.005356/0.4572, allocations: 4.331 MB / 0.5147 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007472/0.458, allocations: 352 kB / 0.515 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.4583, allocations: 177.5 kB / 0.5152 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002243/0.4605, allocations: 1.707 MB / 0.5168 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.4606, allocations: 41.25 kB / 0.5169 GB, free: 7.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.4606, allocations: 0 / 0.5169 GB, free: 7.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.003965/0.4646, allocations: 1.389 MB / 0.5182 GB, free: 6.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.4647, allocations: 132.9 kB / 0.5184 GB, free: 6.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009274/0.4656, allocations: 0.6288 MB / 0.519 GB, free: 5.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.279e-05/0.4657, allocations: 36.67 kB / 0.519 GB, free: 5.883 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.466, allocations: 400.5 kB / 0.5194 GB, free: 5.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.4662, allocations: 133 kB / 0.5195 GB, free: 5.414 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.4664, allocations: 147.4 kB / 0.5196 GB, free: 5.324 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4666, allocations: 376.5 kB / 0.52 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.4669, allocations: 188.8 kB / 0.5202 GB, free: 4.871 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006819/0.4676, allocations: 0.5537 MB / 0.5207 GB, free: 4.273 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009681/0.4686, allocations: 0.7839 MB / 0.5215 GB, free: 3.559 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/0.4686, allocations: 7.406 kB / 0.5215 GB, free: 3.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00154/0.4701, allocations: 0.8285 MB / 0.5223 GB, free: 3.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.4702, allocations: 10.88 kB / 0.5223 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.4702, allocations: 11.88 kB / 0.5223 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005079/0.4707, allocations: 101.9 kB / 0.5224 GB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000744/0.4715, allocations: 177.1 kB / 0.5226 GB, free: 3.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00069/0.4722, allocations: 0.6744 MB / 0.5233 GB, free: 2.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006674/0.4729, allocations: 28.59 kB / 0.5233 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.512e-05/0.473, allocations: 37.5 kB / 0.5233 GB, free: 2.398 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.0004476/0.4734, allocations: 254.2 kB / 0.5236 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.4736, allocations: 72.81 kB / 0.5236 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009977/0.4746, allocations: 0.5107 MB / 0.5241 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4746, allocations: 4.188 kB / 0.5241 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4746, allocations: 1.406 kB / 0.5241 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4746, allocations: 0 / 0.5241 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002142/0.4768, allocations: 1.223 MB / 0.5253 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.4768, allocations: 3.125 kB / 0.5253 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.4771, allocations: 71.81 kB / 0.5254 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001937/0.4773, allocations: 42.52 kB / 0.5254 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.4774, allocations: 13.5 kB / 0.5255 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00041/0.4778, allocations: 0.5643 MB / 0.526 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/0.4778, allocations: 11.59 kB / 0.526 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.4789, allocations: 0.7265 MB / 0.5267 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/0.4793, allocations: 184.5 kB / 0.5269 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/0.4794, allocations: 14.53 kB / 0.5269 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.4798, allocations: 24.47 kB / 0.5269 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.4798, allocations: 30.03 kB / 0.527 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.4799, allocations: 22.17 kB / 0.527 GB, free: 15.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006824/0.4806, allocations: 474.4 kB / 0.5274 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4806, allocations: 0 / 0.5274 GB, free: 15.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001089/0.4817, allocations: 209.8 kB / 0.5276 GB, free: 15.17 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.0006129/0.4823, allocations: 236.5 kB / 0.5279 GB, free: 14.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.4835, allocations: 0.5022 MB / 0.5284 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.4835, allocations: 12 kB / 0.5284 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.4839, allocations: 175.7 kB / 0.5285 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.4857, allocations: 359 kB / 0.5289 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.4882, allocations: 1.285 MB / 0.5301 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.4888, allocations: 0.9454 MB / 0.5311 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006651/0.4895, allocations: 212.3 kB / 0.5313 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.4896, allocations: 63.38 kB / 0.5313 GB, free: 11.31 MB / 414.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4896, allocations: 4 kB / 0.5313 GB, free: 11.3 MB / 414.1 MB Notification: Performance of Templates: time 0.02742/0.517, allocations: 13.8 MB / 0.5448 GB, free: 13.5 MB / 430.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)