Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.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_F,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 111 kB / 17.75 MB, free: 5.332 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.001493/0.001493, allocations: 186.5 kB / 18.68 MB, free: 4.41 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.574/1.574, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2868/0.2868, allocations: 48.84 MB / 320.7 MB, free: 11.03 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.001433/0.001433, allocations: 63.89 kB / 451.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1314, allocations: 59.16 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F): time 0.3936/0.5251, allocations: 93.22 MB / 0.5895 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02027/0.5454, allocations: 14.55 MB / 0.6037 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002217/0.5477, allocations: 27 kB / 0.6037 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.5503, allocations: 0.6336 MB / 0.6043 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.5534, allocations: 1.01 MB / 0.6053 GB, free: 9.848 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0196/0.573, allocations: 6.008 MB / 0.6112 GB, free: 5.527 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.009768/0.5828, allocations: 8.956 MB / 0.6199 GB, free: 13.58 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00742/0.5903, allocations: 3.643 MB / 0.6235 GB, free: 9.914 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007273/0.5976, allocations: 2.958 MB / 0.6264 GB, free: 6.949 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007766/0.6054, allocations: 3.955 MB / 0.6302 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002564/0.608, allocations: 0.6953 MB / 0.6309 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01942/0.6275, allocations: 7.282 MB / 0.638 GB, free: 11 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004481/0.632, allocations: 3.153 MB / 0.6411 GB, free: 7.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008875/0.6409, allocations: 3.97 MB / 0.645 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02559/0.6665, allocations: 12.76 MB / 0.6574 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.6666, allocations: 4 kB / 0.6574 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.474e-06/0.6666, allocations: 0 / 0.6574 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0003813/0.667, allocations: 0 / 0.6574 GB, free: 7.059 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1647 * Number of variables: 1647 Notification: Performance of Generate backend data structure: time 0.03582/0.7028, allocations: 9.441 MB / 0.6667 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.7029, allocations: 11.89 kB / 0.6667 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01137/0.7143, allocations: 1.672 MB / 0.6683 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.7255, allocations: 3.644 MB / 0.6719 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005946/0.7262, allocations: 468.3 kB / 0.6723 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003037/0.7292, allocations: 0.6676 MB / 0.673 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05214/0.7813, allocations: 18.66 MB / 0.6912 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002339/0.7816, allocations: 3.938 kB / 0.6912 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002134/0.7838, allocations: 244 kB / 0.6914 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003507/0.7841, allocations: 356.6 kB / 0.6918 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05516/0.8393, allocations: 22.02 MB / 0.7133 GB, free: 13.6 MB / 0.5606 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.3001/1.139, allocations: 43.33 MB / 0.7556 GB, free: 195.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05124/1.191, allocations: 17.21 MB / 0.7724 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008173/1.199, allocations: 4.768 MB / 0.777 GB, free: 190 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.114/1.313, allocations: 64.38 MB / 0.8399 GB, free: 137.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/1.313, allocations: 100.3 kB / 0.84 GB, free: 137.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=664): time 9.979e-06/1.313, allocations: 4 kB / 0.84 GB, free: 137.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=664): time 0.1171/1.43, allocations: 37.58 MB / 0.8767 GB, free: 98.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/1.43, allocations: 146.3 kB / 0.8768 GB, free: 98.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/1.432, allocations: 1.389 MB / 0.8782 GB, free: 97.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.002116/1.434, allocations: 141.7 kB / 0.8783 GB, free: 97.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007869/1.435, allocations: 1.626 MB / 0.8799 GB, free: 95.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003597/1.439, allocations: 2.329 MB / 0.8822 GB, free: 93.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004776/1.443, allocations: 2.152 MB / 0.8843 GB, free: 91.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.801e-05/1.444, allocations: 309.1 kB / 0.8846 GB, free: 90.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0105/1.454, allocations: 6.675 MB / 0.8911 GB, free: 84.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01173/1.466, allocations: 7.416 MB / 0.8984 GB, free: 76.57 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02353/1.489, allocations: 14.09 MB / 0.9121 GB, free: 62.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.822e-05/1.489, allocations: 4 kB / 0.9121 GB, free: 62.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=785) (initialization): time 0.04144/1.531, allocations: 23.3 MB / 0.9349 GB, free: 38.87 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/1.531, allocations: 12 kB / 0.9349 GB, free: 38.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.842e-05/1.531, allocations: 12 kB / 0.9349 GB, free: 38.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06384/1.595, allocations: 23.8 MB / 0.9581 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/1.596, allocations: 368.2 kB / 0.9585 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04334/1.64, allocations: 24.99 MB / 0.9829 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00678/1.647, allocations: 0.6312 MB / 0.9835 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001869/1.648, allocations: 0.7218 MB / 0.9842 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2667/1.915, allocations: 7.931 MB / 0.9919 GB, free: 206.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01409/1.929, allocations: 7.391 MB / 0.9992 GB, free: 205.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02929/1.959, allocations: 14.03 MB / 1.013 GB, free: 199.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.944e-05/1.959, allocations: 3.188 kB / 1.013 GB, free: 199.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=785) (initialization_lambda0): time 0.04877/2.007, allocations: 23.43 MB / 1.036 GB, free: 190.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/2.008, allocations: 19.09 kB / 1.036 GB, free: 190.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/2.008, allocations: 14.97 kB / 1.036 GB, free: 190.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06583/2.073, allocations: 23.81 MB / 1.059 GB, free: 173.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/2.075, allocations: 373.1 kB / 1.059 GB, free: 172.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04267/2.118, allocations: 24.96 MB / 1.084 GB, free: 147.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007261/2.125, allocations: 0.589 MB / 1.084 GB, free: 147.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001973/2.127, allocations: 0.7218 MB / 1.085 GB, free: 146.8 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 44 (hexFVa.fluidState[20].phase,hexFVa.fluidState[19].phase,hexFVa.fluidState[18].phase,hexFVa.fluidState[17].phase,hexFVa.fluidState[16].phase,hexFVa.fluidState[15].phase,hexFVa.fluidState[14].phase,hexFVa.fluidState[13].phase,hexFVa.fluidState[12].phase,hexFVa.fluidState[11].phase,hexFVa.fluidState[10].phase,hexFVa.fluidState[9].phase,hexFVa.fluidState[8].phase,hexFVa.fluidState[7].phase,hexFVa.fluidState[6].phase,hexFVa.fluidState[5].phase,hexFVa.fluidState[4].phase,hexFVa.fluidState[3].phase,hexFVa.fluidState[2].phase,hexFVa.fluidState[1].phase,hexFVb.fluidState[20].phase,hexFVb.fluidState[19].phase,hexFVb.fluidState[18].phase,hexFVb.fluidState[17].phase,hexFVb.fluidState[16].phase,hexFVb.fluidState[15].phase,hexFVb.fluidState[14].phase,hexFVb.fluidState[13].phase,hexFVb.fluidState[12].phase,hexFVb.fluidState[11].phase,hexFVb.fluidState[10].phase,hexFVb.fluidState[9].phase,hexFVb.fluidState[8].phase,hexFVb.fluidState[7].phase,hexFVb.fluidState[6].phase,hexFVb.fluidState[5].phase,hexFVb.fluidState[4].phase,hexFVb.fluidState[3].phase,hexFVb.fluidState[2].phase,hexFVb.fluidState[1].phase,SensT_B_out.fluidState.phase,SensT_A_out.fluidState.phase,SensT_B_in.fluidState.phase,SensT_A_in.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 222 * 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 {(40,523)} Notification: Performance of prepare postOptimizeDAE: time 0.003248/2.13, allocations: 496.9 kB / 1.086 GB, free: 146.3 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002526/2.133, allocations: 349.3 kB / 1.086 GB, free: 146 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08359/2.216, allocations: 87.78 MB / 1.172 GB, free: 57.97 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001939/2.217, allocations: 39.86 kB / 1.172 GB, free: 57.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/2.217, allocations: 0 / 1.172 GB, free: 57.93 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003714/2.22, allocations: 1.546 MB / 1.173 GB, free: 56.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001564/2.222, allocations: 179.8 kB / 1.173 GB, free: 56.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007195/2.229, allocations: 0.6988 MB / 1.174 GB, free: 55.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002083/2.231, allocations: 0.7538 MB / 1.175 GB, free: 54.72 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04561/2.277, allocations: 19.21 MB / 1.193 GB, free: 35.51 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2766/2.553, allocations: 22.21 MB / 1.215 GB, free: 201.2 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01152/2.565, allocations: 7.204 MB / 1.222 GB, free: 199.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001518/2.567, allocations: 0.9289 MB / 1.223 GB, free: 199.4 MB / 0.6075 GB Notification: Performance of Backend: time 1.443e-06/2.567, allocations: 1.344 kB / 1.223 GB, free: 199.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.06766/2.634, allocations: 23.92 MB / 1.246 GB, free: 192.5 MB / 0.6075 GB Notification: Performance of SimCode: time 0.02133/2.656, allocations: 16.01 MB / 1.262 GB, free: 184.9 MB / 0.6075 GB Notification: Performance of Templates: time 0.928/3.584, allocations: 417 MB / 1.669 GB, free: 223.3 MB / 0.6231 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_F.pipe 2>&1)