Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.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_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009577/0.0009574, allocations: 90.12 kB / 16.31 MB, free: 6.461 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.001315/0.001315, allocations: 181.8 kB / 17.21 MB, free: 6.336 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.716/1.716, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3572/0.3572, allocations: 48.78 MB / 320.4 MB, free: 11.23 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.0005731/0.0005733, allocations: 13.5 kB / 391.2 MB, free: 50.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1303, allocations: 60.27 MB / 451.4 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D): time 0.03462/0.1649, allocations: 37.33 MB / 488.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01794/0.1829, allocations: 14.13 MB / 0.4911 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007872/0.1837, allocations: 11.88 kB / 0.4911 GB, free: 5.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007305/0.1845, allocations: 170.9 kB / 0.4913 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01296/0.1975, allocations: 3.651 MB / 0.4948 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003396/0.2009, allocations: 0.949 MB / 0.4958 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002066/0.203, allocations: 1.781 MB / 0.4975 GB, free: 15.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005981/0.2036, allocations: 436.5 kB / 0.4979 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006149/0.2042, allocations: 494.3 kB / 0.4984 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.2049, allocations: 0.6113 MB / 0.499 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.205, allocations: 40 kB / 0.499 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01235/0.2174, allocations: 5.977 MB / 0.5049 GB, free: 7.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004186/0.2179, allocations: 327 kB / 0.5052 GB, free: 7.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.2183, allocations: 213.2 kB / 0.5054 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006295/0.2246, allocations: 2.99 MB / 0.5083 GB, free: 4.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2246, allocations: 0 / 0.5083 GB, free: 4.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2247, allocations: 0 / 0.5083 GB, free: 4.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.2247, allocations: 0 / 0.5083 GB, free: 4.289 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.004509/0.2292, allocations: 1.602 MB / 0.5099 GB, free: 2.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.2292, allocations: 12.02 kB / 0.5099 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.2306, allocations: 254.7 kB / 0.5101 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/0.2318, allocations: 0.6154 MB / 0.5107 GB, free: 1.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.2319, allocations: 62 kB / 0.5108 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.2321, allocations: 88 kB / 0.5109 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004842/0.2369, allocations: 2.205 MB / 0.513 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.237, allocations: 3.938 kB / 0.513 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.92e-05/0.2371, allocations: 39.95 kB / 0.5131 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/0.2371, allocations: 41.98 kB / 0.5131 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004598/0.2417, allocations: 2.209 MB / 0.5153 GB, free: 13.04 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.006655/0.2484, allocations: 4.829 MB / 0.52 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003413/0.2518, allocations: 1.411 MB / 0.5214 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005319/0.2524, allocations: 370.4 kB / 0.5217 GB, free: 5.988 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3829/0.6353, allocations: 64.58 MB / 0.5848 GB, free: 35.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.6354, allocations: 40.12 kB / 0.5848 GB, free: 35.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=67): time 3.597e-06/0.6354, allocations: 1.359 kB / 0.5848 GB, free: 35.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.008491/0.6439, allocations: 2.937 MB / 0.5877 GB, free: 33.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.6439, allocations: 59.97 kB / 0.5877 GB, free: 33 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006031/0.6446, allocations: 498.3 kB / 0.5882 GB, free: 32.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.6447, allocations: 33.7 kB / 0.5882 GB, free: 32.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002163/0.6449, allocations: 384.7 kB / 0.5886 GB, free: 32.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.6452, allocations: 236.9 kB / 0.5888 GB, free: 31.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.6453, allocations: 16 kB / 0.5889 GB, free: 31.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.6454, allocations: 374.8 kB / 0.5892 GB, free: 31.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008418/0.6462, allocations: 0.6219 MB / 0.5898 GB, free: 30.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009223/0.6472, allocations: 0.7469 MB / 0.5905 GB, free: 30.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009432/0.6481, allocations: 0.6636 MB / 0.5912 GB, free: 29.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.6481, allocations: 8 kB / 0.5912 GB, free: 29.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.003438/0.6516, allocations: 2.23 MB / 0.5934 GB, free: 27.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.025e-05/0.6517, allocations: 164.1 kB / 0.5935 GB, free: 27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.6517, allocations: 7.672 kB / 0.5935 GB, free: 27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003159/0.6549, allocations: 1.724 MB / 0.5952 GB, free: 25.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.6552, allocations: 91.89 kB / 0.5953 GB, free: 25.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.6585, allocations: 2.395 MB / 0.5977 GB, free: 22.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009374/0.6594, allocations: 134.5 kB / 0.5978 GB, free: 22.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.6596, allocations: 87.91 kB / 0.5979 GB, free: 22.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.6596, allocations: 4 kB / 0.5979 GB, free: 22.54 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003193/0.6628, allocations: 2.14 MB / 0.6 GB, free: 20.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.6628, allocations: 4 kB / 0.6 GB, free: 20.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003039/0.6659, allocations: 1.725 MB / 0.6016 GB, free: 18.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003211/0.6662, allocations: 91.89 kB / 0.6017 GB, free: 18.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003107/0.6693, allocations: 2.399 MB / 0.6041 GB, free: 16.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/0.6703, allocations: 123.3 kB / 0.6042 GB, free: 16.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.6704, allocations: 87.91 kB / 0.6043 GB, free: 15.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (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 (50): * Single equations (assignments): 49 * 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 {5 37} Notification: Performance of prepare postOptimizeDAE: time 0.0006398/0.6711, allocations: 363.3 kB / 0.6046 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.6713, allocations: 67.2 kB / 0.6047 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008872/0.6802, allocations: 10.16 MB / 0.6146 GB, free: 5.336 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/0.6802, allocations: 23.97 kB / 0.6146 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.6802, allocations: 0 / 0.6146 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.6803, allocations: 7.984 kB / 0.6146 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003785/0.684, allocations: 4.718 MB / 0.6193 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/0.6841, allocations: 0 / 0.6193 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007822/0.6849, allocations: 159.7 kB / 0.6194 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.6864, allocations: 420 kB / 0.6198 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/0.6866, allocations: 31.78 kB / 0.6198 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006304/0.6929, allocations: 4.183 MB / 0.6239 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.693, allocations: 4 kB / 0.6239 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005462/0.6985, allocations: 2.568 MB / 0.6264 GB, free: 8.672 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009342/0.6995, allocations: 267.6 kB / 0.6267 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/0.6998, allocations: 16 kB / 0.6267 GB, free: 8.375 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.7008, allocations: 79.86 kB / 0.6268 GB, free: 8.297 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/0.701, allocations: 49.12 kB / 0.6268 GB, free: 8.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.343e-05/0.7011, allocations: 31.98 kB / 0.6269 GB, free: 8.215 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005517/0.7017, allocations: 338.8 kB / 0.6272 GB, free: 7.883 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7017, allocations: 0 / 0.6272 GB, free: 7.883 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004629/0.7063, allocations: 1.305 MB / 0.6285 GB, free: 6.641 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4]) * Number of discrete variables: 10 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005254/0.7116, allocations: 0.9652 MB / 0.6294 GB, free: 5.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005041/0.7167, allocations: 2.527 MB / 0.6319 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.7167, allocations: 0.5625 kB / 0.6319 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.7185, allocations: 1.106 MB / 0.6329 GB, free: 2.168 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.7202, allocations: 294.2 kB / 0.6332 GB, free: 1.887 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004448/0.7247, allocations: 2.985 MB / 0.6361 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007361/0.7254, allocations: 1.121 MB / 0.6372 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009197/0.7264, allocations: 396.3 kB / 0.6376 GB, free: 13.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.7267, allocations: 63.41 kB / 0.6377 GB, free: 13.3 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.7267, allocations: 0 / 0.6377 GB, free: 13.3 MB / 446.1 MB Notification: Performance of Templates: time 0.09139/0.8181, allocations: 66.87 MB / 0.703 GB, free: 10.14 MB / 0.4981 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.pipe 2>&1) Environment - environmentSimulation: