Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.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.DistributedParameterComponents.TestWaterFlow1DFV2ph_C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001627, allocations: 110.9 kB / 17.74 MB, free: 5.188 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.001782/0.001782, allocations: 193.3 kB / 18.67 MB, free: 4.262 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.349/1.349, allocations: 205.1 MB / 224.6 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2715/0.2715, allocations: 48.84 MB / 320.7 MB, free: 11 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.001498/0.001498, allocations: 67.91 kB / 451.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1032, allocations: 59.16 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C): time 0.252/0.3552, allocations: 31.07 MB / 0.5288 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.3676, allocations: 12.44 MB / 0.5409 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004534/0.3681, allocations: 12.28 kB / 0.5409 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006333/0.3688, allocations: 220 kB / 0.5411 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.3698, allocations: 481.1 kB / 0.5416 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01516/0.385, allocations: 5.368 MB / 0.5468 GB, free: 5.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01172/0.3967, allocations: 14.49 MB / 0.561 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00726/0.404, allocations: 5.018 MB / 0.5659 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006837/0.4109, allocations: 4.563 MB / 0.5704 GB, free: 10.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01058/0.4215, allocations: 5.938 MB / 0.5761 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003155/0.4247, allocations: 1.123 MB / 0.5772 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01572/0.4404, allocations: 7.484 MB / 0.5846 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004767/0.4452, allocations: 3.134 MB / 0.5876 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006347/0.4516, allocations: 3.527 MB / 0.5911 GB, free: 10.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01948/0.4711, allocations: 13.1 MB / 0.6039 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4711, allocations: 0 / 0.6039 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4711, allocations: 4 kB / 0.6039 GB, free: 13.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.65e-05/0.4712, allocations: 0 / 0.6039 GB, free: 13.61 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 853 * Number of variables: 853 Notification: Performance of Generate backend data structure: time 0.06361/0.5349, allocations: 13.05 MB / 0.6166 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5349, allocations: 15.83 kB / 0.6166 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008139/0.5431, allocations: 1.009 MB / 0.6176 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009168/0.5522, allocations: 3.149 MB / 0.6207 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005714/0.558, allocations: 2.05 MB / 0.6227 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003383/0.5614, allocations: 335.8 kB / 0.623 GB, free: 9.816 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06822/0.6296, allocations: 24.34 MB / 0.6468 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001116/0.6298, allocations: 0 / 0.6468 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0032/0.633, allocations: 133.7 kB / 0.6469 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001724/0.6332, allocations: 186.6 kB / 0.6471 GB, free: 1.094 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1169/0.7501, allocations: 43.74 MB / 0.6898 GB, free: 5.309 MB / 0.5294 GB 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.3594/1.11, allocations: 68.09 MB / 0.7563 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05071/1.16, allocations: 19.1 MB / 0.7749 GB, free: 189.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03469/1.195, allocations: 15.43 MB / 0.79 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1556/1.351, allocations: 76.26 MB / 0.8645 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.703e-05/1.351, allocations: 79.31 kB / 0.8646 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=371): time 9.868e-06/1.351, allocations: 1.219 kB / 0.8646 GB, free: 108.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=373): time 0.2282/1.579, allocations: 78.55 MB / 0.9413 GB, free: 30.13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/1.579, allocations: 86.33 kB / 0.9414 GB, free: 30.03 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009627/1.58, allocations: 0.7619 MB / 0.9421 GB, free: 29.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.003726/1.584, allocations: 93.7 kB / 0.9422 GB, free: 29.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003833/1.584, allocations: 0.7966 MB / 0.943 GB, free: 28.37 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.004358/1.589, allocations: 1.276 MB / 0.9442 GB, free: 27.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01256/1.601, allocations: 1.79 MB / 0.946 GB, free: 25.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.601, allocations: 361.9 kB / 0.9463 GB, free: 24.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03625/1.638, allocations: 15.96 MB / 0.9619 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03902/1.677, allocations: 16.33 MB / 0.9778 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6455/2.322, allocations: 142.5 MB / 1.117 GB, free: 113.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/2.322, allocations: 7.844 kB / 1.117 GB, free: 113.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=419) (initialization): time 0.2912/2.613, allocations: 82.76 MB / 1.198 GB, free: 30.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/2.614, allocations: 8 kB / 1.198 GB, free: 30.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/2.614, allocations: 4 kB / 1.198 GB, free: 30.94 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.433/3.047, allocations: 92.15 MB / 1.288 GB, free: 167.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/3.049, allocations: 0.5242 MB / 1.288 GB, free: 166.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1069/3.156, allocations: 55.03 MB / 1.342 GB, free: 111.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01985/3.176, allocations: 3.052 MB / 1.345 GB, free: 108.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003254/3.179, allocations: 0.6393 MB / 1.346 GB, free: 107.5 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.hex.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03831/3.218, allocations: 16.55 MB / 1.362 GB, free: 90.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03526/3.253, allocations: 16.23 MB / 1.378 GB, free: 74.58 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.6091/3.862, allocations: 140.3 MB / 1.515 GB, free: 161.2 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.177e-05/3.862, allocations: 4.703 kB / 1.515 GB, free: 161.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=419) (initialization_lambda0): time 0.2991/4.161, allocations: 83.95 MB / 1.597 GB, free: 77.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/4.161, allocations: 15.09 kB / 1.597 GB, free: 77.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/4.161, allocations: 4 kB / 1.597 GB, free: 77.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4919/4.653, allocations: 92.14 MB / 1.687 GB, free: 206.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/4.656, allocations: 0.5039 MB / 1.687 GB, free: 206.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1072/4.763, allocations: 55.03 MB / 1.741 GB, free: 158.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02004/4.783, allocations: 3.047 MB / 1.744 GB, free: 155.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003379/4.786, allocations: 0.6355 MB / 1.744 GB, free: 154.6 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.hex.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 20 (hex.fluidState[20].phase,hex.fluidState[19].phase,hex.fluidState[18].phase,hex.fluidState[17].phase,hex.fluidState[16].phase,hex.fluidState[15].phase,hex.fluidState[14].phase,hex.fluidState[13].phase,hex.fluidState[12].phase,hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (251): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 19 * 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): 19 systems {(1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,9), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.005836/4.792, allocations: 371.5 kB / 1.745 GB, free: 154.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003774/4.796, allocations: 188.7 kB / 1.745 GB, free: 154.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1038/4.9, allocations: 69.72 MB / 1.813 GB, free: 84.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001248/4.9, allocations: 19.92 kB / 1.813 GB, free: 84.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/4.9, allocations: 0.875 kB / 1.813 GB, free: 84.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006602/4.907, allocations: 2.578 MB / 1.816 GB, free: 81.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004024/4.911, allocations: 95.97 kB / 1.816 GB, free: 81.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02138/4.932, allocations: 3.249 MB / 1.819 GB, free: 78.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003878/4.936, allocations: 0.6069 MB / 1.819 GB, free: 77.89 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1042/5.04, allocations: 36.79 MB / 1.855 GB, free: 41.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3349/5.375, allocations: 48.54 MB / 1.903 GB, free: 199.3 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03743/5.413, allocations: 17.32 MB / 1.92 GB, free: 194.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006038/5.413, allocations: 0.5179 MB / 1.92 GB, free: 194.4 MB / 0.6075 GB Notification: Performance of Backend: time 5.51e-07/5.413, allocations: 0 / 1.92 GB, free: 194.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.09908/5.512, allocations: 38.27 MB / 1.958 GB, free: 164.1 MB / 0.6075 GB Notification: Performance of SimCode: time 0.01109/5.524, allocations: 8.526 MB / 1.966 GB, free: 155.7 MB / 0.6075 GB Notification: Performance of Templates: time 1.181/6.705, allocations: 0.5895 GB / 2.555 GB, free: 206.9 MB / 0.6075 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe 2>&1)