Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.4 MB / 304.3 MB, free: 8.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 182.1 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.4 MB / 0.6317 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008733/0.0008735, allocations: 96.53 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005819/0.0005819, allocations: 16.05 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2538, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.26, allocations: 421.9 MB / 1.393 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.26, allocations: 101.9 kB / 1.393 GB, free: 6.215 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 8.396/9.656, allocations: 2.263 GB / 3.656 GB, free: 138.2 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.605e-06/9.656, allocations: 5.25 kB / 3.656 GB, free: 138.2 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001889/9.658, allocations: 254 kB / 3.656 GB, free: 138.1 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.04705/9.705, allocations: 9.382 MB / 3.666 GB, free: 135 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/9.705, allocations: 9.344 kB / 3.666 GB, free: 135 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009573/9.714, allocations: 1.232 MB / 3.667 GB, free: 134.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03134/9.746, allocations: 12.19 MB / 3.679 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005446/9.746, allocations: 435.1 kB / 3.679 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003412/9.75, allocations: 0.5902 MB / 3.68 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03024/9.78, allocations: 13.67 MB / 3.693 GB, free: 132 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003294/9.78, allocations: 32.12 kB / 3.693 GB, free: 132 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003119/9.783, allocations: 242.8 kB / 3.693 GB, free: 132 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/9.784, allocations: 136.9 kB / 3.693 GB, free: 132 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0319/9.815, allocations: 18.34 MB / 3.711 GB, free: 131.9 MB / 0.9792 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.09718/9.913, allocations: 55.17 MB / 3.765 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/9.925, allocations: 8.855 MB / 3.774 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01213/9.937, allocations: 9.36 MB / 3.783 GB, free: 112.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05803/9.995, allocations: 26.18 MB / 3.809 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01181/10.01, allocations: 7.421 MB / 3.816 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05033/10.06, allocations: 21.13 MB / 3.836 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 3.859e-05/10.06, allocations: 0 / 3.836 GB, free: 102.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.05387/10.11, allocations: 23.01 MB / 3.859 GB, free: 94.18 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/10.11, allocations: 84.09 kB / 3.859 GB, free: 94.12 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01999/10.13, allocations: 7.782 MB / 3.867 GB, free: 91.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.003063/10.13, allocations: 103.5 kB / 3.867 GB, free: 91.59 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.004267/10.14, allocations: 3.993 MB / 3.871 GB, free: 87.96 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.003268/10.14, allocations: 1.085 MB / 3.872 GB, free: 86.97 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008538/10.14, allocations: 88 kB / 3.872 GB, free: 86.89 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002914/10.14, allocations: 498.2 kB / 3.872 GB, free: 86.45 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007851/10.15, allocations: 6.18 MB / 3.878 GB, free: 81.36 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/10.16, allocations: 8.025 MB / 3.886 GB, free: 73.69 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02329/10.18, allocations: 14.58 MB / 3.9 GB, free: 60.45 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.564e-05/10.19, allocations: 15.94 kB / 3.9 GB, free: 60.44 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03861/10.22, allocations: 16.69 MB / 3.917 GB, free: 46.94 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001252/10.22, allocations: 1.549 MB / 3.918 GB, free: 44.76 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/10.23, allocations: 48 kB / 3.918 GB, free: 44.71 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0631/10.29, allocations: 11.03 MB / 3.929 GB, free: 34.33 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009433/10.3, allocations: 1.609 MB / 3.931 GB, free: 32.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008785/10.31, allocations: 6.323 MB / 3.937 GB, free: 26.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01404/10.32, allocations: 0.5729 MB / 3.937 GB, free: 25.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003347/10.32, allocations: 0.5499 MB / 3.938 GB, free: 25.16 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/10.32, allocations: 4 kB / 3.938 GB, free: 25.16 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03244/10.36, allocations: 15.92 MB / 3.953 GB, free: 9.496 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/10.36, allocations: 50.34 kB / 3.953 GB, free: 9.449 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06246/10.42, allocations: 10.61 MB / 3.964 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009853/10.43, allocations: 1.598 MB / 3.965 GB, free: 13.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01547/10.44, allocations: 10.22 MB / 3.975 GB, free: 2.684 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01325/10.46, allocations: 0.5498 MB / 3.976 GB, free: 2.133 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003403/10.46, allocations: 0.5382 MB / 3.976 GB, free: 1.594 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.7626/11.22, allocations: 2.635 MB / 3.979 GB, free: 150.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003774/11.23, allocations: 0.7481 MB / 3.98 GB, free: 150.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03538/11.26, allocations: 13.66 MB / 3.993 GB, free: 150.1 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.739e-05/11.26, allocations: 34.66 kB / 3.993 GB, free: 150.1 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/11.26, allocations: 0.9062 kB / 3.993 GB, free: 150.1 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0175/11.28, allocations: 10.27 MB / 4.003 GB, free: 149.6 MB / 0.9948 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 postOpt removeSimpleEquations (simulation): time 0.04959/11.33, allocations: 23.81 MB / 4.026 GB, free: 146.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/11.33, allocations: 0 / 4.026 GB, free: 146.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006283/11.34, allocations: 0.6961 MB / 4.027 GB, free: 146.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06215/11.4, allocations: 9.944 MB / 4.037 GB, free: 146.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001631/11.4, allocations: 107.7 kB / 4.037 GB, free: 146.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004709/11.41, allocations: 4.306 MB / 4.041 GB, free: 143.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/11.41, allocations: 2.438 kB / 4.041 GB, free: 143.6 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03054/11.44, allocations: 18.44 MB / 4.059 GB, free: 143.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008567/11.44, allocations: 1.897 MB / 4.061 GB, free: 143.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004476/11.45, allocations: 76.92 kB / 4.061 GB, free: 143.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009993/11.46, allocations: 399.2 kB / 4.061 GB, free: 143 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001935/11.46, allocations: 216 kB / 4.062 GB, free: 143 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001563/11.46, allocations: 163.4 kB / 4.062 GB, free: 143 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01297/11.48, allocations: 5.328 MB / 4.067 GB, free: 142.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.42e-07/11.48, allocations: 0 / 4.067 GB, free: 142.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03067/11.51, allocations: 4.878 MB / 4.072 GB, free: 142.6 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004629/11.51, allocations: 1.239 MB / 4.073 GB, free: 142.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.04553/11.56, allocations: 23.57 MB / 4.096 GB, free: 141.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.81e-05/11.56, allocations: 10.5 kB / 4.096 GB, free: 141.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01462/11.57, allocations: 6.187 MB / 4.102 GB, free: 141.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03793/11.61, allocations: 4.596 MB / 4.106 GB, free: 141.4 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0463/11.66, allocations: 22.29 MB / 4.128 GB, free: 134.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007319/11.66, allocations: 5.214 MB / 4.133 GB, free: 133.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02413/11.69, allocations: 4.989 MB / 4.138 GB, free: 132.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006904/11.69, allocations: 0.9058 MB / 4.139 GB, free: 132.4 MB / 0.9948 GB Notification: Performance of SimCode: time 1.252e-06/11.69, allocations: 3.688 kB / 4.139 GB, free: 132.4 MB / 0.9948 GB Notification: Performance of Templates: time 1.022/12.72, allocations: 219.3 MB / 4.353 GB, free: 165.6 MB / 1.01 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)