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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 175.1 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.2 MB / 219.4 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009932/0.0009935, allocations: 78.72 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3378/0.3378, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.752e-05, allocations: 3.938 kB / 432.5 MB, free: 16.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1557, allocations: 60.25 MB / 492.7 MB, free: 4.383 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.416/8.571, allocations: 2.96 GB / 3.441 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/8.572, allocations: 79.22 kB / 3.441 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9549/9.527, allocations: 293.4 MB / 3.728 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.377e-06/9.527, allocations: 0 / 3.728 GB, free: 77.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.853e-05/9.527, allocations: 23.22 kB / 3.728 GB, free: 77.03 MB / 0.5105 GB 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.007104/9.534, allocations: 1.684 MB / 3.73 GB, free: 75.56 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/9.534, allocations: 18.03 kB / 3.73 GB, free: 75.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/9.535, allocations: 253.2 kB / 3.73 GB, free: 75.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/9.537, allocations: 0.6931 MB / 3.73 GB, free: 74.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.134e-05/9.537, allocations: 70.88 kB / 3.731 GB, free: 74.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/9.537, allocations: 90.5 kB / 3.731 GB, free: 74.76 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00464/9.542, allocations: 2.241 MB / 3.733 GB, free: 73.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/9.542, allocations: 1.031 kB / 3.733 GB, free: 73.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.574e-05/9.542, allocations: 38.69 kB / 3.733 GB, free: 73.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-05/9.542, allocations: 37.89 kB / 3.733 GB, free: 73.57 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004396/9.546, allocations: 2.179 MB / 3.735 GB, free: 72.46 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.005006/9.551, allocations: 5.032 MB / 3.74 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/9.554, allocations: 1.409 MB / 3.741 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/9.555, allocations: 358.9 kB / 3.742 GB, free: 67.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1038/9.659, allocations: 63.97 MB / 3.804 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.084e-05/9.659, allocations: 38.75 kB / 3.804 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=67): time 5.27e-06/9.659, allocations: 0 / 3.804 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67): time 0.009346/9.668, allocations: 2.239 MB / 3.806 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/9.668, allocations: 63.84 kB / 3.806 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007947/9.669, allocations: 432.7 kB / 3.807 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002015/9.669, allocations: 36.64 kB / 3.807 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/9.67, allocations: 387.1 kB / 3.807 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/9.67, allocations: 239.6 kB / 3.807 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/9.67, allocations: 16.25 kB / 3.807 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001758/9.67, allocations: 375.6 kB / 3.808 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00092/9.671, allocations: 0.593 MB / 3.808 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009896/9.672, allocations: 0.7451 MB / 3.809 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009788/9.673, allocations: 0.6419 MB / 3.81 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/9.673, allocations: 6.719 kB / 3.81 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.004134/9.677, allocations: 2.193 MB / 3.812 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004955/9.678, allocations: 0.9697 MB / 3.813 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/9.678, allocations: 3.625 kB / 3.813 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003745/9.682, allocations: 1.6 MB / 3.814 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000392/9.682, allocations: 93.64 kB / 3.815 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003962/9.686, allocations: 2.364 MB / 3.817 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/9.687, allocations: 132.8 kB / 3.817 GB, free: 5.469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002227/9.688, allocations: 93.78 kB / 3.817 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/9.688, allocations: 0 / 3.817 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003915/9.691, allocations: 2.1 MB / 3.819 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/9.692, allocations: 4 kB / 3.819 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003609/9.695, allocations: 1.609 MB / 3.821 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/9.696, allocations: 84.66 kB / 3.821 GB, free: 1.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3972/10.09, allocations: 2.353 MB / 3.823 GB, free: 99.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/10.09, allocations: 125.3 kB / 3.823 GB, free: 99.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/10.09, allocations: 90.5 kB / 3.823 GB, free: 99.72 MB / 0.5261 GB 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 () * 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.0003963/10.09, allocations: 143.7 kB / 3.823 GB, free: 99.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/10.1, allocations: 66.78 kB / 3.823 GB, free: 99.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/10.11, allocations: 10.29 MB / 3.833 GB, free: 99.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.642e-05/10.11, allocations: 24.52 kB / 3.834 GB, free: 99.46 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/10.11, allocations: 6.266 kB / 3.834 GB, free: 99.46 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/10.11, allocations: 5.016 kB / 3.834 GB, free: 99.46 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007266/10.12, allocations: 4.602 MB / 3.838 GB, free: 98.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/10.12, allocations: 6.203 kB / 3.838 GB, free: 98.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/10.12, allocations: 156.7 kB / 3.838 GB, free: 98.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/10.12, allocations: 422.2 kB / 3.839 GB, free: 98.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001679/10.12, allocations: 29.03 kB / 3.839 GB, free: 98.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005022/10.12, allocations: 4.167 MB / 3.843 GB, free: 95.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/10.12, allocations: 2.062 kB / 3.843 GB, free: 95.76 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004317/10.13, allocations: 2.525 MB / 3.845 GB, free: 95.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006315/10.13, allocations: 256.3 kB / 3.845 GB, free: 95.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/10.13, allocations: 16.06 kB / 3.845 GB, free: 95.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007357/10.13, allocations: 80.66 kB / 3.845 GB, free: 95.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/10.13, allocations: 52.08 kB / 3.846 GB, free: 95.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.175e-05/10.13, allocations: 31.55 kB / 3.846 GB, free: 95.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005128/10.13, allocations: 338.7 kB / 3.846 GB, free: 95.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/10.13, allocations: 0 / 3.846 GB, free: 95.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006476/10.14, allocations: 1.327 MB / 3.847 GB, free: 95.2 MB / 0.5261 GB 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 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete 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.007499/10.14, allocations: 1.296 MB / 3.848 GB, free: 95.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004779/10.15, allocations: 2.477 MB / 3.851 GB, free: 95.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/10.15, allocations: 0 / 3.851 GB, free: 95.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/10.15, allocations: 1.068 MB / 3.852 GB, free: 94.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/10.15, allocations: 300.7 kB / 3.852 GB, free: 94.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/10.16, allocations: 2.03 MB / 3.854 GB, free: 94.44 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005604/10.16, allocations: 1.132 MB / 3.855 GB, free: 93.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001016/10.16, allocations: 419.7 kB / 3.856 GB, free: 93.72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/10.16, allocations: 56.83 kB / 3.856 GB, free: 93.71 MB / 0.5261 GB Notification: Performance of SimCode: time 1.803e-06/10.16, allocations: 0 / 3.856 GB, free: 93.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.08158/10.24, allocations: 64.03 MB / 3.918 GB, free: 91.05 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_D.makefile (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)