Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_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.TestWaterFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 86.66 kB / 16.31 MB, free: 6.449 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.00116/0.00116, allocations: 180.8 kB / 17.21 MB, free: 6.32 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.79/1.79, allocations: 205.4 MB / 223.4 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5739/0.5739, allocations: 48.77 MB / 320.4 MB, free: 3.859 MB / 254.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.0005264/0.0005264, allocations: 23.12 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1488, allocations: 60.26 MB / 451.4 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B): time 0.2981/0.447, allocations: 48.32 MB / 499.8 MB, free: 18.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01896/0.466, allocations: 14.6 MB / 0.5023 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.4671, allocations: 10.81 kB / 0.5023 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009148/0.468, allocations: 260.9 kB / 0.5026 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01309/0.4811, allocations: 3.64 MB / 0.5061 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004681/0.4858, allocations: 1.131 MB / 0.5072 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003274/0.4891, allocations: 2.811 MB / 0.51 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.4903, allocations: 0.7792 MB / 0.5107 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.4918, allocations: 0.7929 MB / 0.5115 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.4934, allocations: 1.117 MB / 0.5126 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.4936, allocations: 83.38 kB / 0.5127 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01518/0.5088, allocations: 6.107 MB / 0.5186 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008575/0.5097, allocations: 0.6623 MB / 0.5193 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008294/0.5106, allocations: 356.9 kB / 0.5196 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009132/0.5197, allocations: 3.886 MB / 0.5234 GB, free: 8.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.5197, allocations: 0 / 0.5234 GB, free: 8.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.5198, allocations: 0 / 0.5234 GB, free: 8.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.622e-05/0.5198, allocations: 0 / 0.5234 GB, free: 8.801 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 420 * Number of variables: 420 Notification: Performance of Generate backend data structure: time 0.008391/0.5282, allocations: 2.619 MB / 0.526 GB, free: 6.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.5283, allocations: 15.95 kB / 0.526 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.5308, allocations: 465.7 kB / 0.5264 GB, free: 5.656 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.5333, allocations: 1.041 MB / 0.5274 GB, free: 4.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.5334, allocations: 115.1 kB / 0.5276 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/0.5338, allocations: 183.8 kB / 0.5277 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/0.5443, allocations: 4.564 MB / 0.5322 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.5444, allocations: 3.938 kB / 0.5322 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.5446, allocations: 64 kB / 0.5323 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.47e-05/0.5447, allocations: 87.25 kB / 0.5323 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.5555, allocations: 4.911 MB / 0.5371 GB, free: 10.61 MB / 414.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.0152/0.5708, allocations: 10.27 MB / 0.5472 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00907/0.5799, allocations: 3.471 MB / 0.5505 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/0.5819, allocations: 1.012 MB / 0.5515 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1479/0.7299, allocations: 80.77 MB / 0.6304 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.667e-05/0.73, allocations: 43.88 kB / 0.6305 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=158): time 6.392e-06/0.7301, allocations: 96 / 0.6305 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=158): time 0.2939/1.024, allocations: 6.864 MB / 0.6372 GB, free: 167.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/1.024, allocations: 66.56 kB / 0.6372 GB, free: 167.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009991/1.025, allocations: 0.5663 MB / 0.6378 GB, free: 167.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002463/1.025, allocations: 55.2 kB / 0.6378 GB, free: 167.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/1.026, allocations: 0.5114 MB / 0.6383 GB, free: 167.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000486/1.026, allocations: 0.5437 MB / 0.6389 GB, free: 167.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/1.026, allocations: 31.72 kB / 0.6389 GB, free: 167.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.026, allocations: 411.3 kB / 0.6393 GB, free: 166.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/1.029, allocations: 1.478 MB / 0.6407 GB, free: 166.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/1.031, allocations: 1.697 MB / 0.6424 GB, free: 165.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002545/1.034, allocations: 1.567 MB / 0.6439 GB, free: 164.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/1.034, allocations: 0 / 0.6439 GB, free: 164.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.0116/1.045, allocations: 5.241 MB / 0.649 GB, free: 163 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00024/1.045, allocations: 205.5 kB / 0.6492 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/1.046, allocations: 4.094 kB / 0.6492 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01266/1.058, allocations: 4.759 MB / 0.6539 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/1.059, allocations: 121.4 kB / 0.654 GB, free: 161.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009725/1.069, allocations: 5.636 MB / 0.6595 GB, free: 159.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/1.071, allocations: 269.6 kB / 0.6598 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003454/1.071, allocations: 180.7 kB / 0.6599 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/1.071, allocations: 7.969 kB / 0.6599 GB, free: 159.4 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008682/1.08, allocations: 5.105 MB / 0.6649 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/1.08, allocations: 4 kB / 0.6649 GB, free: 157.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01143/1.091, allocations: 4.805 MB / 0.6696 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005573/1.092, allocations: 115.1 kB / 0.6697 GB, free: 155.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009268/1.101, allocations: 5.624 MB / 0.6752 GB, free: 151.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/1.103, allocations: 262.3 kB / 0.6755 GB, free: 151.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000419/1.104, allocations: 184.5 kB / 0.6756 GB, free: 151.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (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 (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 113} Notification: Performance of prepare postOptimizeDAE: time 0.00138/1.105, allocations: 0.5209 MB / 0.6762 GB, free: 150.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004289/1.105, allocations: 102.8 kB / 0.6763 GB, free: 150.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01808/1.123, allocations: 21.22 MB / 0.697 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-05/1.124, allocations: 55.89 kB / 0.697 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.908e-05/1.124, allocations: 11.98 kB / 0.697 GB, free: 129.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.036e-05/1.124, allocations: 7.969 kB / 0.697 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007718/1.131, allocations: 9.57 MB / 0.7064 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.725e-05/1.131, allocations: 1.812 kB / 0.7064 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/1.133, allocations: 360 kB / 0.7067 GB, free: 118.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003171/1.136, allocations: 0.9757 MB / 0.7077 GB, free: 117.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003163/1.137, allocations: 67.06 kB / 0.7077 GB, free: 117.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007339/1.144, allocations: 5.676 MB / 0.7133 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.144, allocations: 0.9375 kB / 0.7133 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008961/1.153, allocations: 6.25 MB / 0.7194 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009689/1.154, allocations: 486.2 kB / 0.7199 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/1.155, allocations: 43.94 kB / 0.7199 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001557/1.156, allocations: 167.5 kB / 0.7201 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/1.157, allocations: 129.8 kB / 0.7202 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/1.157, allocations: 59.94 kB / 0.7202 GB, free: 104.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000532/1.157, allocations: 398.8 kB / 0.7206 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.157, allocations: 0 / 0.7206 GB, free: 104.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005513/1.163, allocations: 1.868 MB / 0.7224 GB, free: 102.6 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 24 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006725/1.17, allocations: 1.02 MB / 0.7234 GB, free: 101.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.181, allocations: 5.907 MB / 0.7292 GB, free: 95.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.181, allocations: 0 / 0.7292 GB, free: 95.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003637/1.185, allocations: 2.274 MB / 0.7314 GB, free: 93.49 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/1.188, allocations: 0.556 MB / 0.732 GB, free: 92.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.198, allocations: 6.089 MB / 0.7379 GB, free: 86.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.2, allocations: 1.531 MB / 0.7394 GB, free: 85.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001829/1.202, allocations: 497 kB / 0.7399 GB, free: 84.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/1.202, allocations: 115.3 kB / 0.74 GB, free: 84.71 MB / 0.4981 GB Notification: Performance of SimCode: time 2.084e-06/1.202, allocations: 0 / 0.74 GB, free: 84.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.3924/1.595, allocations: 115.2 MB / 0.8525 GB, free: 146.3 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe 2>&1) Environment - environmentSimulation: