Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.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.TestWaterFlow1DFEM_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 110.3 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.0013/0.001301, allocations: 185.4 kB / 18.67 MB, free: 4.414 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.244/1.244, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2468/0.2468, allocations: 48.85 MB / 320.8 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.001366/0.001366, allocations: 71.89 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09147, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B): time 0.2247/0.3162, allocations: 51.63 MB / 0.5488 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.3282, allocations: 11.49 MB / 0.5601 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004451/0.3287, allocations: 16.97 kB / 0.5601 GB, free: 13.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008577/0.3296, allocations: 329.6 kB / 0.5604 GB, free: 13.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009128/0.3305, allocations: 455 kB / 0.5608 GB, free: 13.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01413/0.3447, allocations: 5.278 MB / 0.566 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005885/0.3506, allocations: 6.352 MB / 0.5722 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003264/0.3539, allocations: 2.233 MB / 0.5744 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.3569, allocations: 1.855 MB / 0.5762 GB, free: 5.246 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004698/0.3616, allocations: 2.974 MB / 0.5791 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001863/0.3635, allocations: 0.6474 MB / 0.5797 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01362/0.3771, allocations: 6.936 MB / 0.5865 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003222/0.3804, allocations: 2.311 MB / 0.5887 GB, free: 13.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004961/0.3853, allocations: 2.867 MB / 0.5915 GB, free: 10.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.4001, allocations: 10.27 MB / 0.6016 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4001, allocations: 0 / 0.6016 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4001, allocations: 0 / 0.6016 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001584/0.4003, allocations: 0 / 0.6016 GB, free: 0.4961 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: 1387 * Number of variables: 1387 Notification: Performance of Generate backend data structure: time 0.02954/0.4298, allocations: 8.279 MB / 0.6097 GB, free: 8.152 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4299, allocations: 11.89 kB / 0.6097 GB, free: 8.141 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004317/0.4342, allocations: 0.788 MB / 0.6104 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008245/0.4425, allocations: 2.834 MB / 0.6132 GB, free: 4.465 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004104/0.4429, allocations: 403.2 kB / 0.6136 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001884/0.4448, allocations: 0.5195 MB / 0.6141 GB, free: 3.551 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02688/0.4717, allocations: 12.29 MB / 0.6261 GB, free: 7.207 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001473/0.4719, allocations: 0 / 0.6261 GB, free: 7.207 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001492/0.4734, allocations: 220 kB / 0.6263 GB, free: 6.992 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000199/0.4736, allocations: 222.8 kB / 0.6265 GB, free: 6.773 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04018/0.5138, allocations: 14.41 MB / 0.6406 GB, free: 8.34 MB / 494.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.03535/0.5492, allocations: 24.3 MB / 0.6643 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.561, allocations: 4.915 MB / 0.6691 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003673/0.5647, allocations: 2.215 MB / 0.6713 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1287/0.6935, allocations: 64.28 MB / 0.7341 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.623e-05/0.6936, allocations: 56.59 kB / 0.7341 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=257): time 5.711e-06/0.6936, allocations: 0 / 0.7341 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=257): time 0.2909/0.9845, allocations: 23.74 MB / 0.7573 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.9845, allocations: 77.72 kB / 0.7574 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00449/0.989, allocations: 3.985 MB / 0.7613 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008452/0.9899, allocations: 75.23 kB / 0.7614 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.9912, allocations: 3.146 MB / 0.7644 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.9922, allocations: 1.033 MB / 0.7654 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002174/0.9944, allocations: 1.966 MB / 0.7674 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.493e-05/0.9945, allocations: 348.2 kB / 0.7677 GB, free: 201.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005509/1, allocations: 3.992 MB / 0.7716 GB, free: 200 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006788/1.007, allocations: 9.025 MB / 0.7804 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/1.02, allocations: 13.64 MB / 0.7937 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002631/1.02, allocations: 49.88 kB / 0.7938 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.02163/1.042, allocations: 15.49 MB / 0.8089 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.644e-05/1.042, allocations: 83.91 kB / 0.809 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001822/1.042, allocations: 176 kB / 0.8091 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04141/1.083, allocations: 12.67 MB / 0.8215 GB, free: 156.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004396/1.088, allocations: 1.676 MB / 0.8231 GB, free: 155 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01732/1.105, allocations: 10.51 MB / 0.8334 GB, free: 144.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006742/1.112, allocations: 1.185 MB / 0.8346 GB, free: 143.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001224/1.113, allocations: 0.6404 MB / 0.8352 GB, free: 142.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006533/1.12, allocations: 5.143 MB / 0.8402 GB, free: 137.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006331/1.126, allocations: 8.952 MB / 0.849 GB, free: 126 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01248/1.139, allocations: 13.51 MB / 0.8622 GB, free: 110 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001152/1.139, allocations: 52 kB / 0.8622 GB, free: 110 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1102) (initialization_lambda0): time 0.0318/1.17, allocations: 17.43 MB / 0.8792 GB, free: 92.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.763e-05/1.171, allocations: 84 kB / 0.8793 GB, free: 92.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001695/1.171, allocations: 178.4 kB / 0.8795 GB, free: 92.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04274/1.214, allocations: 12.66 MB / 0.8918 GB, free: 79.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004022/1.218, allocations: 1.671 MB / 0.8935 GB, free: 77.87 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01708/1.235, allocations: 10.47 MB / 0.9037 GB, free: 67.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006164/1.241, allocations: 0.8645 MB / 0.9045 GB, free: 66.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009001/1.242, allocations: 0.6365 MB / 0.9052 GB, free: 65.86 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 14 (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 (903): * Single equations (assignments): 902 * 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 {(13,187)} Notification: Performance of prepare postOptimizeDAE: time 0.0018/1.244, allocations: 0.8409 MB / 0.906 GB, free: 65.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008372/1.244, allocations: 368.4 kB / 0.9063 GB, free: 64.65 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0434/1.288, allocations: 32.64 MB / 0.9382 GB, free: 31.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.11e-05/1.288, allocations: 15.94 kB / 0.9382 GB, free: 31.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/1.288, allocations: 0 / 0.9382 GB, free: 31.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/1.29, allocations: 0.8887 MB / 0.9391 GB, free: 31.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006904/1.291, allocations: 87.95 kB / 0.9392 GB, free: 30.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00317/1.294, allocations: 307.5 kB / 0.9395 GB, free: 30.65 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009029/1.295, allocations: 351.9 kB / 0.9398 GB, free: 30.31 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02401/1.319, allocations: 9.627 MB / 0.9492 GB, free: 20.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01217/1.331, allocations: 9.578 MB / 0.9586 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003408/1.334, allocations: 3.01 MB / 0.9615 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002785/1.337, allocations: 2.337 MB / 0.9638 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of Backend: time 3.91e-07/1.337, allocations: 0 / 0.9638 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2219/1.559, allocations: 16.07 MB / 0.9795 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01438/1.574, allocations: 10.86 MB / 0.9901 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1891/1.763, allocations: 187.8 MB / 1.173 GB, free: 10.32 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe 2>&1)