Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.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_A,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 110.9 kB / 17.75 MB, free: 5.305 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.001633/0.001633, allocations: 190.6 kB / 18.68 MB, free: 4.379 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.293/1.293, allocations: 205.1 MB / 224.6 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2607/0.2607, allocations: 48.85 MB / 320.8 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.001634/0.001634, allocations: 75.88 kB / 451.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1035, allocations: 59.16 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A): time 0.2452/0.3487, allocations: 38.06 MB / 0.5356 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01319/0.3619, allocations: 12.49 MB / 0.5478 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005103/0.3625, allocations: 10.34 kB / 0.5478 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007238/0.3632, allocations: 249.1 kB / 0.548 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.3643, allocations: 0.5168 MB / 0.5485 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0148/0.3791, allocations: 5.388 MB / 0.5538 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006758/0.3859, allocations: 7.245 MB / 0.5609 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003647/0.3896, allocations: 2.457 MB / 0.5633 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.3944, allocations: 2.357 MB / 0.5656 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005624/0.4, allocations: 2.9 MB / 0.5684 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001746/0.4018, allocations: 0.5236 MB / 0.5689 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01505/0.4169, allocations: 6.882 MB / 0.5756 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002802/0.4197, allocations: 1.505 MB / 0.5771 GB, free: 7.406 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00372/0.4234, allocations: 1.76 MB / 0.5788 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.4387, allocations: 8.112 MB / 0.5868 GB, free: 15.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.4387, allocations: 7.922 kB / 0.5868 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4387, allocations: 0 / 0.5868 GB, free: 15.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.336e-05/0.4388, allocations: 0 / 0.5868 GB, free: 15.64 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.03032/0.4691, allocations: 6.555 MB / 0.5932 GB, free: 9.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4692, allocations: 15.89 kB / 0.5932 GB, free: 9.004 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004163/0.4734, allocations: 0.558 MB / 0.5937 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004525/0.4779, allocations: 1.663 MB / 0.5954 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002588/0.4805, allocations: 0.9422 MB / 0.5963 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00158/0.4821, allocations: 172.3 kB / 0.5964 GB, free: 5.582 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03261/0.5147, allocations: 11.37 MB / 0.6075 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.853e-05/0.5148, allocations: 0 / 0.6075 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001068/0.5159, allocations: 71.98 kB / 0.6076 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.516, allocations: 87.48 kB / 0.6077 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05483/0.5709, allocations: 18.83 MB / 0.6261 GB, free: 7.168 MB / 478.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.0554/0.6263, allocations: 31.98 MB / 0.6573 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02605/0.6524, allocations: 9.105 MB / 0.6662 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01815/0.6706, allocations: 6.934 MB / 0.673 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1544/0.825, allocations: 76.23 MB / 0.7474 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.837e-05/0.8251, allocations: 60.56 kB / 0.7475 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=192): time 4.678e-06/0.8251, allocations: 0 / 0.7475 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=193): time 0.3541/1.179, allocations: 36.11 MB / 0.7827 GB, free: 195.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/1.179, allocations: 72.06 kB / 0.7828 GB, free: 195.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/1.18, allocations: 0.5126 MB / 0.7833 GB, free: 195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001161/1.181, allocations: 61.36 kB / 0.7834 GB, free: 194.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/1.181, allocations: 0.5285 MB / 0.7839 GB, free: 194.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/1.183, allocations: 0.6997 MB / 0.7846 GB, free: 194.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002237/1.185, allocations: 0.875 MB / 0.7854 GB, free: 193.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.945e-05/1.185, allocations: 347.9 kB / 0.7858 GB, free: 193.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01643/1.201, allocations: 7.309 MB / 0.7929 GB, free: 191.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01643/1.218, allocations: 7.511 MB / 0.8002 GB, free: 188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02871/1.247, allocations: 12.3 MB / 0.8122 GB, free: 177.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/1.247, allocations: 0 / 0.8122 GB, free: 177.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.0956/1.342, allocations: 31.78 MB / 0.8433 GB, free: 145.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/1.342, allocations: 7.906 kB / 0.8433 GB, free: 145.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.342, allocations: 7.938 kB / 0.8433 GB, free: 145.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1352/1.478, allocations: 49.58 MB / 0.8917 GB, free: 95.99 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/1.479, allocations: 295 kB / 0.892 GB, free: 95.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0528/1.532, allocations: 21.24 MB / 0.9127 GB, free: 74.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009253/1.541, allocations: 1.35 MB / 0.914 GB, free: 73.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00189/1.543, allocations: 317.4 kB / 0.9143 GB, free: 72.78 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.018/1.561, allocations: 7.65 MB / 0.9218 GB, free: 65.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01655/1.578, allocations: 7.475 MB / 0.9291 GB, free: 57.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02981/1.608, allocations: 12.2 MB / 0.941 GB, free: 45.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.23e-05/1.608, allocations: 4 kB / 0.941 GB, free: 45.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=220) (initialization_lambda0): time 0.09298/1.701, allocations: 28.93 MB / 0.9693 GB, free: 16.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/1.701, allocations: 4 kB / 0.9693 GB, free: 16.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.701, allocations: 4 kB / 0.9693 GB, free: 16.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.363/2.064, allocations: 49.64 MB / 1.018 GB, free: 236.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/2.065, allocations: 288.4 kB / 1.018 GB, free: 236.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04827/2.113, allocations: 21.23 MB / 1.039 GB, free: 219.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008875/2.122, allocations: 1.35 MB / 1.04 GB, free: 218.6 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009758/2.123, allocations: 311.4 kB / 1.04 GB, free: 218.3 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (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 (121): * Single equations (assignments): 120 * 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 {(10,89)} Notification: Performance of prepare postOptimizeDAE: time 0.001516/2.125, allocations: 273.9 kB / 1.041 GB, free: 218 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/2.126, allocations: 115.1 kB / 1.041 GB, free: 218 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04452/2.17, allocations: 32.96 MB / 1.073 GB, free: 185.1 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.56e-05/2.171, allocations: 10.92 kB / 1.073 GB, free: 185.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/2.171, allocations: 0 / 1.073 GB, free: 185.1 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002551/2.173, allocations: 1.187 MB / 1.074 GB, free: 184 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/2.174, allocations: 48.67 kB / 1.074 GB, free: 183.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008841/2.183, allocations: 1.439 MB / 1.076 GB, free: 182.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001289/2.185, allocations: 325.1 kB / 1.076 GB, free: 182.2 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04265/2.227, allocations: 16 MB / 1.092 GB, free: 166.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04991/2.277, allocations: 21.36 MB / 1.112 GB, free: 144.7 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01637/2.294, allocations: 7.543 MB / 1.12 GB, free: 137.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004093/2.294, allocations: 358.8 kB / 1.12 GB, free: 136.8 MB / 0.6231 GB Notification: Performance of Backend: time 5.11e-07/2.294, allocations: 0 / 1.12 GB, free: 136.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.05074/2.345, allocations: 18.32 MB / 1.138 GB, free: 118.8 MB / 0.6231 GB Notification: Performance of SimCode: time 0.005895/2.351, allocations: 4.385 MB / 1.142 GB, free: 114.4 MB / 0.6231 GB Notification: Performance of Templates: time 0.5117/2.862, allocations: 285.2 MB / 1.421 GB, free: 50.25 MB / 0.6231 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe 2>&1)