Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.1/2.1, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001388, allocations: 181.9 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.278/2.278, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009339/0.0009336, allocations: 96.53 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006298/0.0006301, allocations: 15.09 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2105, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.443, allocations: 415.2 MB / 1.305 GB, free: 2.551 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/1.444, allocations: 108 kB / 1.305 GB, free: 2.496 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 12.18/13.62, allocations: 2.263 GB / 3.568 GB, free: 122.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.715e-06/13.62, allocations: 3 kB / 3.568 GB, free: 122.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001931/13.62, allocations: 253 kB / 3.568 GB, free: 122.9 MB / 0.9167 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.05526/13.68, allocations: 9.474 MB / 3.578 GB, free: 119.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/13.68, allocations: 10.81 kB / 3.578 GB, free: 119.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/13.69, allocations: 1.23 MB / 3.579 GB, free: 119 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04594/13.74, allocations: 11.91 MB / 3.59 GB, free: 117.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006754/13.74, allocations: 439.4 kB / 3.591 GB, free: 117.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003825/13.74, allocations: 0.5902 MB / 3.591 GB, free: 117.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0415/13.78, allocations: 13.67 MB / 3.605 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004182/13.78, allocations: 25.62 kB / 3.605 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003541/13.79, allocations: 247.8 kB / 3.605 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000144/13.79, allocations: 139.6 kB / 3.605 GB, free: 116.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04401/13.83, allocations: 18.34 MB / 3.623 GB, free: 116.7 MB / 0.9167 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.1738/14, allocations: 55.16 MB / 3.677 GB, free: 97.98 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02232/14.03, allocations: 8.846 MB / 3.686 GB, free: 96.31 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01988/14.05, allocations: 9.372 MB / 3.695 GB, free: 92.55 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07758/14.12, allocations: 26.17 MB / 3.72 GB, free: 79.19 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01727/14.14, allocations: 7.416 MB / 3.727 GB, free: 74.57 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09656/14.24, allocations: 21.13 MB / 3.748 GB, free: 57.02 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=301): time 3.583e-05/14.24, allocations: 3.797 kB / 3.748 GB, free: 57.02 MB / 0.9167 GB Notification: Performance of matching and sorting (n=301): time 0.08345/14.32, allocations: 22.93 MB / 3.77 GB, free: 34.04 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/14.32, allocations: 85.78 kB / 3.771 GB, free: 33.95 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02073/14.34, allocations: 7.784 MB / 3.778 GB, free: 26.18 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002577/14.35, allocations: 105.7 kB / 3.778 GB, free: 26.07 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.006186/14.35, allocations: 3.989 MB / 3.782 GB, free: 22.07 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003516/14.36, allocations: 1.083 MB / 3.783 GB, free: 21 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002319/14.36, allocations: 92 kB / 3.783 GB, free: 20.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000512/14.36, allocations: 499.8 kB / 3.784 GB, free: 20.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01533/14.37, allocations: 6.176 MB / 3.79 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01679/14.39, allocations: 8.029 MB / 3.798 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01884/14.41, allocations: 7.084 MB / 3.805 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.726e-05/14.41, allocations: 19.92 kB / 3.805 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.8254/15.23, allocations: 16.67 MB / 3.821 GB, free: 136.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001292/15.24, allocations: 1.543 MB / 3.822 GB, free: 134.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.411e-05/15.24, allocations: 47.47 kB / 3.822 GB, free: 134.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1406/15.38, allocations: 11.05 MB / 3.833 GB, free: 134.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01661/15.39, allocations: 1.601 MB / 3.835 GB, free: 134.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/15.41, allocations: 6.326 MB / 3.841 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01928/15.43, allocations: 0.5705 MB / 3.842 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003385/15.43, allocations: 0.5487 MB / 3.842 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/15.43, allocations: 5.25 kB / 3.842 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05065/15.48, allocations: 15.92 MB / 3.858 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002018/15.48, allocations: 44.44 kB / 3.858 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1341/15.62, allocations: 10.61 MB / 3.868 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01641/15.63, allocations: 1.598 MB / 3.87 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/15.66, allocations: 10.23 MB / 3.88 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01814/15.68, allocations: 0.5559 MB / 3.88 GB, free: 126.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003293/15.68, allocations: 0.5324 MB / 3.881 GB, free: 126.4 MB / 0.9323 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.0104/15.69, allocations: 2.637 MB / 3.883 GB, free: 126.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004493/15.69, allocations: 0.7487 MB / 3.884 GB, free: 126.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04589/15.74, allocations: 13.68 MB / 3.897 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.686e-05/15.74, allocations: 33.97 kB / 3.897 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/15.74, allocations: 7.625 kB / 3.897 GB, free: 125.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02703/15.77, allocations: 10.25 MB / 3.907 GB, free: 125.2 MB / 0.9323 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.06178/15.83, allocations: 23.82 MB / 3.931 GB, free: 122 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.658e-05/15.83, allocations: 0 / 3.931 GB, free: 122 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01007/15.84, allocations: 0.6984 MB / 3.931 GB, free: 122 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.129/15.97, allocations: 9.933 MB / 3.941 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001346/15.97, allocations: 100.8 kB / 3.941 GB, free: 121.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00729/15.98, allocations: 4.317 MB / 3.945 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/15.98, allocations: 9.141 kB / 3.945 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04579/16.02, allocations: 18.44 MB / 3.963 GB, free: 117.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008568/16.03, allocations: 1.899 MB / 3.965 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003845/16.04, allocations: 73.03 kB / 3.965 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01269/16.05, allocations: 397.9 kB / 3.966 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001705/16.05, allocations: 221.8 kB / 3.966 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001158/16.05, allocations: 160 kB / 3.966 GB, free: 117.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01532/16.07, allocations: 5.325 MB / 3.971 GB, free: 117 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.41e-07/16.07, allocations: 0 / 3.971 GB, free: 117 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02895/16.1, allocations: 4.872 MB / 3.976 GB, free: 116.8 MB / 0.9323 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.004345/16.1, allocations: 1.248 MB / 3.977 GB, free: 116.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.06158/16.16, allocations: 23.58 MB / 4 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/16.16, allocations: 3.469 kB / 4 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01525/16.18, allocations: 6.191 MB / 4.006 GB, free: 111.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04249/16.22, allocations: 4.671 MB / 4.011 GB, free: 110.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0526/16.27, allocations: 22.28 MB / 4.033 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009847/16.28, allocations: 5.202 MB / 4.038 GB, free: 98.62 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.03295/16.31, allocations: 4.945 MB / 4.042 GB, free: 97.51 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009077/16.32, allocations: 0.9 MB / 4.043 GB, free: 96.86 MB / 0.9323 GB Notification: Performance of SimCode: time 1.012e-06/16.32, allocations: 0 / 4.043 GB, free: 96.86 MB / 0.9323 GB Notification: Performance of Templates: time 1.246/17.57, allocations: 216.7 MB / 4.255 GB, free: 109.6 MB / 0.948 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)