Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008529/0.0008529, allocations: 88.34 kB / 16.31 MB, free: 6.461 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.0008654/0.0008654, allocations: 181.3 kB / 17.21 MB, free: 6.328 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.368/1.368, allocations: 205.4 MB / 223.4 MB, free: 5.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4464/0.4464, allocations: 48.77 MB / 320.4 MB, free: 3.82 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: Performance of FrontEnd - loaded program: time 0.0004882/0.0004884, allocations: 16 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1256, allocations: 60.26 MB / 451.4 MB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.334/0.4596, allocations: 100 MB / 0.5385 GB, free: 9.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.4726, allocations: 10.95 MB / 0.5492 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008529/0.4735, allocations: 23.81 kB / 0.5492 GB, free: 14.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.475, allocations: 441.2 kB / 0.5497 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.4764, allocations: 0.6833 MB / 0.5503 GB, free: 13.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01327/0.4897, allocations: 4.337 MB / 0.5546 GB, free: 8.867 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003227/0.493, allocations: 2.128 MB / 0.5566 GB, free: 6.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.4943, allocations: 495.5 kB / 0.5571 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.4956, allocations: 0.5641 MB / 0.5577 GB, free: 5.668 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008896/0.4965, allocations: 0.603 MB / 0.5583 GB, free: 5.062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.362e-05/0.4966, allocations: 44 kB / 0.5583 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01272/0.5094, allocations: 6.051 MB / 0.5642 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.5097, allocations: 123.5 kB / 0.5643 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.5101, allocations: 177.3 kB / 0.5645 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005886/0.516, allocations: 2.861 MB / 0.5673 GB, free: 11.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5161, allocations: 0 / 0.5673 GB, free: 11.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5161, allocations: 0 / 0.5673 GB, free: 11.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.5161, allocations: 0 / 0.5673 GB, free: 11.79 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003567/0.5197, allocations: 1.419 MB / 0.5687 GB, free: 10.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.5197, allocations: 8.031 kB / 0.5687 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.52, allocations: 118.9 kB / 0.5688 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005149/0.5205, allocations: 456.6 kB / 0.5692 GB, free: 9.715 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.5206, allocations: 45.31 kB / 0.5693 GB, free: 9.668 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.462e-05/0.5207, allocations: 67.94 kB / 0.5693 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.5221, allocations: 0.8179 MB / 0.5701 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.5221, allocations: 4 kB / 0.5701 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.898e-05/0.5222, allocations: 27.94 kB / 0.5702 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.5222, allocations: 20 kB / 0.5702 GB, free: 8.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.5235, allocations: 0.5983 MB / 0.5708 GB, free: 8.082 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003629/0.5271, allocations: 4.382 MB / 0.575 GB, free: 3.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.5284, allocations: 0.489 MB / 0.5755 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.5288, allocations: 197.5 kB / 0.5757 GB, free: 2.535 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05474/0.5835, allocations: 32.29 MB / 0.6073 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.5836, allocations: 34.56 kB / 0.6073 GB, free: 14.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 2.564e-06/0.5836, allocations: 0 / 0.6073 GB, free: 14.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.002192/0.5858, allocations: 0.7182 MB / 0.608 GB, free: 13.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.5859, allocations: 85.05 kB / 0.6081 GB, free: 13.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.5864, allocations: 474.9 kB / 0.6085 GB, free: 13.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.5864, allocations: 33.7 kB / 0.6086 GB, free: 13.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.5867, allocations: 323.8 kB / 0.6089 GB, free: 12.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.104e-05/0.5868, allocations: 122.2 kB / 0.609 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.5868, allocations: 4 kB / 0.609 GB, free: 12.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5869, allocations: 362.8 kB / 0.6093 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.5872, allocations: 136.6 kB / 0.6095 GB, free: 12.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.5876, allocations: 213.8 kB / 0.6097 GB, free: 11.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.5879, allocations: 146.6 kB / 0.6098 GB, free: 11.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5879, allocations: 4 kB / 0.6098 GB, free: 11.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008134/0.5887, allocations: 456.3 kB / 0.6102 GB, free: 11.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.359e-05/0.5888, allocations: 149 kB / 0.6104 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.5888, allocations: 8.75 kB / 0.6104 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.5889, allocations: 4 kB / 0.6104 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004227/0.5893, allocations: 91.88 kB / 0.6105 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.5893, allocations: 4 kB / 0.6105 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.5898, allocations: 91.41 kB / 0.6106 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.684e-05/0.5898, allocations: 20 kB / 0.6106 GB, free: 10.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.174e-06/0.5898, allocations: 7.938 kB / 0.6106 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005148/0.5904, allocations: 296.2 kB / 0.6109 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.5904, allocations: 4 kB / 0.6109 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.302e-06/0.5904, allocations: 7.953 kB / 0.6109 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.5907, allocations: 83.89 kB / 0.611 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.5907, allocations: 11.92 kB / 0.611 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/0.591, allocations: 92.73 kB / 0.6111 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.591, allocations: 16 kB / 0.6111 GB, free: 10.38 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002642/0.5913, allocations: 249 kB / 0.6113 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.806e-05/0.5914, allocations: 59.34 kB / 0.6114 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001875/0.5933, allocations: 1.585 MB / 0.6129 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/0.5933, allocations: 23.95 kB / 0.613 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5933, allocations: 0 / 0.613 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5934, allocations: 0 / 0.613 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.5947, allocations: 0.983 MB / 0.6139 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.5948, allocations: 0 / 0.6139 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.5951, allocations: 68.7 kB / 0.614 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.5951, allocations: 3.938 kB / 0.614 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.5951, allocations: 16 kB / 0.614 GB, free: 7.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.5951, allocations: 3.984 kB / 0.614 GB, free: 7.316 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.5952, allocations: 4 kB / 0.614 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.5964, allocations: 0.9923 MB / 0.615 GB, free: 6.312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.5966, allocations: 201.3 kB / 0.6152 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.245e-05/0.5967, allocations: 11.94 kB / 0.6152 GB, free: 6.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.5971, allocations: 59.94 kB / 0.6152 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.5972, allocations: 43.94 kB / 0.6153 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.5973, allocations: 8 kB / 0.6153 GB, free: 5.977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003272/0.5976, allocations: 322.9 kB / 0.6156 GB, free: 5.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5976, allocations: 0 / 0.6156 GB, free: 5.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00305/0.6007, allocations: 1.065 MB / 0.6166 GB, free: 4.594 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003905/0.6046, allocations: 0.9857 MB / 0.6176 GB, free: 3.602 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.6063, allocations: 0.6644 MB / 0.6182 GB, free: 2.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.6063, allocations: 0.5 kB / 0.6182 GB, free: 2.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006476/0.607, allocations: 435.6 kB / 0.6187 GB, free: 2.516 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/0.6087, allocations: 316.9 kB / 0.619 GB, free: 2.215 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.6118, allocations: 1.948 MB / 0.6209 GB, free: 236 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.6123, allocations: 0.9832 MB / 0.6218 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007513/0.6131, allocations: 383.7 kB / 0.6222 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.6132, allocations: 43.44 kB / 0.6222 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.6133, allocations: 0 / 0.6222 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.2817/0.8949, allocations: 38.12 MB / 0.6595 GB, free: 161.1 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1) Environment - environmentSimulation: