Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_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.TestWaterFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 110.3 kB / 17.75 MB, free: 5.285 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.002188/0.002188, allocations: 189.3 kB / 18.68 MB, free: 4.359 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.439/1.439, allocations: 205.1 MB / 224.6 MB, free: 12.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.323/0.323, allocations: 48.85 MB / 320.8 MB, free: 10.99 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.001605/0.001605, allocations: 71.89 kB / 451.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1298, allocations: 59.16 MB / 0.4984 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A): time 0.3361/0.4659, allocations: 51.78 MB / 0.549 GB, free: 4.227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.48, allocations: 11.15 MB / 0.5599 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007765/0.4808, allocations: 11.5 kB / 0.5599 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001055/0.4819, allocations: 321.3 kB / 0.5602 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.4831, allocations: 488.4 kB / 0.5607 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01628/0.4994, allocations: 5.038 MB / 0.5656 GB, free: 11.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004336/0.5038, allocations: 3.843 MB / 0.5694 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002003/0.5058, allocations: 1.529 MB / 0.5708 GB, free: 8.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.5078, allocations: 1.266 MB / 0.5721 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/0.5102, allocations: 1.623 MB / 0.5737 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004743/0.5107, allocations: 265.5 kB / 0.5739 GB, free: 6.555 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/0.527, allocations: 6.55 MB / 0.5803 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001756/0.5288, allocations: 1.265 MB / 0.5816 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002735/0.5315, allocations: 1.693 MB / 0.5832 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.5455, allocations: 7.172 MB / 0.5902 GB, free: 12.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.515e-06/0.5455, allocations: 4 kB / 0.5902 GB, free: 12.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5455, allocations: 0 / 0.5902 GB, free: 12.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.601e-05/0.5456, allocations: 0 / 0.5902 GB, free: 12.08 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: 762 * Number of variables: 762 Notification: Performance of Generate backend data structure: time 0.01361/0.5592, allocations: 4.556 MB / 0.5947 GB, free: 7.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.5593, allocations: 23.81 kB / 0.5947 GB, free: 7.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004821/0.5641, allocations: 0.8188 MB / 0.5955 GB, free: 6.613 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00373/0.5678, allocations: 1.617 MB / 0.5971 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.568, allocations: 213.9 kB / 0.5973 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005418/0.5686, allocations: 320.3 kB / 0.5976 GB, free: 4.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02324/0.5918, allocations: 8.696 MB / 0.6061 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.592, allocations: 0 / 0.6061 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000929/0.5929, allocations: 112 kB / 0.6062 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001956/0.5931, allocations: 165.9 kB / 0.6063 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02496/0.6181, allocations: 10.32 MB / 0.6164 GB, free: 1.059 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.02338/0.6415, allocations: 17.77 MB / 0.6338 GB, free: 13.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01628/0.6578, allocations: 6.458 MB / 0.6401 GB, free: 7.219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002972/0.6608, allocations: 1.909 MB / 0.6419 GB, free: 5.301 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1199/0.7808, allocations: 64.3 MB / 0.7047 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.7809, allocations: 64.7 kB / 0.7048 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=272): time 7.303e-06/0.7809, allocations: 0 / 0.7048 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=272): time 0.04839/0.8293, allocations: 14.47 MB / 0.7189 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.8294, allocations: 77.55 kB / 0.719 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.8305, allocations: 0.6201 MB / 0.7196 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005751/0.831, allocations: 69.7 kB / 0.7197 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005595/0.8316, allocations: 0.8385 MB / 0.7205 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001451/0.8331, allocations: 0.9993 MB / 0.7215 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002931/0.836, allocations: 0.9575 MB / 0.7224 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.8362, allocations: 341.9 kB / 0.7227 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005175/0.8414, allocations: 2.885 MB / 0.7255 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005219/0.8466, allocations: 3.195 MB / 0.7287 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.8571, allocations: 6.038 MB / 0.7345 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.8572, allocations: 4 kB / 0.7346 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.01896/0.8761, allocations: 9.841 MB / 0.7442 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.8762, allocations: 11.91 kB / 0.7442 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.8762, allocations: 4 kB / 0.7442 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2874/1.164, allocations: 8.652 MB / 0.7526 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/1.165, allocations: 259.7 kB / 0.7529 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/1.185, allocations: 9.715 MB / 0.7624 GB, free: 206 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/1.188, allocations: 252.9 kB / 0.7626 GB, free: 206 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007066/1.189, allocations: 332.8 kB / 0.7629 GB, free: 205.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006262/1.195, allocations: 3.467 MB / 0.7663 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004639/1.2, allocations: 3.172 MB / 0.7694 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01071/1.21, allocations: 5.976 MB / 0.7752 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.651e-05/1.21, allocations: 1.5 kB / 0.7752 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=320) (initialization_lambda0): time 0.0162/1.227, allocations: 9.802 MB / 0.7848 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.227, allocations: 11.81 kB / 0.7848 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.227, allocations: 6.719 kB / 0.7848 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01746/1.244, allocations: 8.643 MB / 0.7933 GB, free: 192.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.245, allocations: 258.7 kB / 0.7935 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/1.26, allocations: 9.764 MB / 0.8031 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/1.263, allocations: 235.8 kB / 0.8033 GB, free: 182.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007374/1.264, allocations: 335.6 kB / 0.8036 GB, free: 181.9 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 22 (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,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 144 * 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 {(20,156)} Notification: Performance of prepare postOptimizeDAE: time 0.00144/1.265, allocations: 316.8 kB / 0.8039 GB, free: 181.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009352/1.266, allocations: 159 kB / 0.8041 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03615/1.302, allocations: 42.19 MB / 0.8453 GB, free: 139.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.874e-05/1.302, allocations: 15.94 kB / 0.8453 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.006e-06/1.302, allocations: 0 / 0.8453 GB, free: 139.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.304, allocations: 0.6746 MB / 0.8459 GB, free: 138.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007087/1.305, allocations: 71.97 kB / 0.846 GB, free: 138.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003122/1.308, allocations: 324.5 kB / 0.8463 GB, free: 138.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009594/1.309, allocations: 289.8 kB / 0.8466 GB, free: 137.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01628/1.325, allocations: 7.837 MB / 0.8542 GB, free: 130 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01173/1.337, allocations: 9.671 MB / 0.8637 GB, free: 120.2 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003645/1.34, allocations: 3.148 MB / 0.8668 GB, free: 117.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005247/1.341, allocations: 422.8 kB / 0.8672 GB, free: 116.7 MB / 0.5919 GB Notification: Performance of Backend: time 5.91e-07/1.341, allocations: 0 / 0.8672 GB, free: 116.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02308/1.364, allocations: 10.18 MB / 0.8771 GB, free: 106.7 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01033/1.374, allocations: 6.931 MB / 0.8839 GB, free: 99.85 MB / 0.5919 GB Notification: Performance of Templates: time 0.4267/1.801, allocations: 188.4 MB / 1.068 GB, free: 129.1 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe 2>&1)