Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 107.1 kB / 17.74 MB, free: 5.336 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.001522/0.001522, allocations: 186.5 kB / 18.67 MB, free: 4.418 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.348/1.348, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2674/0.2674, allocations: 48.84 MB / 320.7 MB, free: 11.02 MB / 270.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: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 67.91 kB / 451.2 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1101, allocations: 59.15 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.2933/0.4035, allocations: 72.53 MB / 0.5692 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01463/0.4181, allocations: 10.85 MB / 0.5798 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/0.419, allocations: 12.62 kB / 0.5798 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009453/0.4199, allocations: 344 kB / 0.5802 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008348/0.4208, allocations: 432.2 kB / 0.5806 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0152/0.436, allocations: 5.347 MB / 0.5858 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001875/0.4379, allocations: 1.195 MB / 0.587 GB, free: 9.898 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006611/0.4386, allocations: 385.2 kB / 0.5873 GB, free: 9.676 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007495/0.4394, allocations: 439.4 kB / 0.5878 GB, free: 9.449 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005415/0.4399, allocations: 440.6 kB / 0.5882 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.402e-05/0.44, allocations: 43 kB / 0.5882 GB, free: 9.195 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/0.4524, allocations: 6.329 MB / 0.5944 GB, free: 5.926 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.4526, allocations: 118.4 kB / 0.5945 GB, free: 5.828 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006111/0.4532, allocations: 335.6 kB / 0.5948 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009622/0.4628, allocations: 4.022 MB / 0.5988 GB, free: 3.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4629, allocations: 0 / 0.5988 GB, free: 3.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4629, allocations: 4 kB / 0.5988 GB, free: 3.066 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.4629, allocations: 0 / 0.5988 GB, free: 3.066 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003355/0.4663, allocations: 1.338 MB / 0.6001 GB, free: 1.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4663, allocations: 15.83 kB / 0.6001 GB, free: 1.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004821/0.4668, allocations: 120.5 kB / 0.6002 GB, free: 1.812 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.4675, allocations: 429.8 kB / 0.6006 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.4676, allocations: 37.38 kB / 0.6006 GB, free: 1.316 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.4677, allocations: 56.28 kB / 0.6007 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.4692, allocations: 0.6842 MB / 0.6014 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.4693, allocations: 8.75 kB / 0.6014 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.4693, allocations: 16 kB / 0.6014 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.4693, allocations: 12 kB / 0.6014 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.4707, allocations: 0.5231 MB / 0.6019 GB, free: 15.98 MB / 462.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.00257/0.4733, allocations: 2.639 MB / 0.6045 GB, free: 13.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.4746, allocations: 0.5669 MB / 0.605 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/0.4749, allocations: 128.8 kB / 0.6052 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06427/0.5392, allocations: 32.11 MB / 0.6365 GB, free: 8.402 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.5392, allocations: 38.5 kB / 0.6366 GB, free: 8.355 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 3.196e-06/0.5393, allocations: 4 kB / 0.6366 GB, free: 8.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.005851/0.5451, allocations: 1.855 MB / 0.6384 GB, free: 6.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.5452, allocations: 110.8 kB / 0.6385 GB, free: 6.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000512/0.5457, allocations: 458.8 kB / 0.6389 GB, free: 5.801 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.5458, allocations: 33.7 kB / 0.639 GB, free: 5.762 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.546, allocations: 272.1 kB / 0.6392 GB, free: 5.492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.5461, allocations: 114.4 kB / 0.6393 GB, free: 5.379 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.5463, allocations: 97.56 kB / 0.6394 GB, free: 5.277 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5465, allocations: 366.7 kB / 0.6398 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.5468, allocations: 162.1 kB / 0.6399 GB, free: 4.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.5472, allocations: 226.3 kB / 0.6401 GB, free: 4.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.5479, allocations: 372.9 kB / 0.6405 GB, free: 4.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.5479, allocations: 0 / 0.6405 GB, free: 4.121 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001933/0.5498, allocations: 0.7401 MB / 0.6412 GB, free: 3.363 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.5499, allocations: 8 kB / 0.6412 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5499, allocations: 0 / 0.6412 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00228/0.5522, allocations: 0.5247 MB / 0.6417 GB, free: 2.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.5523, allocations: 35.92 kB / 0.6418 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.5541, allocations: 1.503 MB / 0.6432 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.5544, allocations: 8 kB / 0.6432 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/0.5545, allocations: 32.89 kB / 0.6433 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004272/0.5549, allocations: 264.1 kB / 0.6435 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003291/0.5553, allocations: 227.6 kB / 0.6437 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000596/0.5559, allocations: 369.9 kB / 0.6441 GB, free: 308 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.084e-06/0.5559, allocations: 0 / 0.6441 GB, free: 308 kB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001658/0.5576, allocations: 0.6895 MB / 0.6448 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.5576, allocations: 4 kB / 0.6448 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.5576, allocations: 7.984 kB / 0.6448 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.5591, allocations: 449.5 kB / 0.6452 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.5593, allocations: 47.91 kB / 0.6453 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.5612, allocations: 1.444 MB / 0.6467 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.5615, allocations: 12.03 kB / 0.6467 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.5615, allocations: 28.67 kB / 0.6467 GB, free: 13.56 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (header.fluidState.phase,pressDrop.state.phase,mixer.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,11), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.5618, allocations: 200.1 kB / 0.6469 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.5619, allocations: 55.34 kB / 0.6469 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.5655, allocations: 3.013 MB / 0.6499 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.5656, allocations: 2.625 kB / 0.6499 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5656, allocations: 0 / 0.6499 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.5657, allocations: 136.3 kB / 0.65 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.431e-05/0.5658, allocations: 12.09 kB / 0.65 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.5661, allocations: 19.97 kB / 0.6501 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.1e-05/0.5662, allocations: 31.94 kB / 0.6501 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001658/0.5679, allocations: 0.7009 MB / 0.6508 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001268/0.5692, allocations: 1.004 MB / 0.6517 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003543/0.5695, allocations: 256.4 kB / 0.652 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003684/0.5699, allocations: 318.9 kB / 0.6523 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of Backend: time 6.71e-07/0.5699, allocations: 4 kB / 0.6523 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007716/0.5776, allocations: 1.773 MB / 0.654 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of SimCode: time 0.002822/0.5805, allocations: 1.861 MB / 0.6558 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.06501/0.6455, allocations: 46.28 MB / 0.701 GB, free: 5.699 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1)