Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.664/1.664, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 187.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.2 MB / 0.6626 GB, free: 4.238 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009176/0.0009174, allocations: 89.48 kB / 0.7808 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004152/0.0004154, allocations: 13.28 kB / 0.9088 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7852/0.7856, allocations: 120.3 MB / 1.026 GB, free: 55.89 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.824, allocations: 411.6 MB / 1.428 GB, free: 248.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.825, allocations: 97.08 kB / 1.428 GB, free: 248.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.658/10.48, allocations: 2.304 GB / 3.732 GB, free: 102.3 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.378e-06/10.48, allocations: 0 / 3.732 GB, free: 102.3 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.00367/10.49, allocations: 251.5 kB / 3.732 GB, free: 102.2 MB / 1.01 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.05681/10.54, allocations: 9.39 MB / 3.742 GB, free: 98.98 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 6.366e-05/10.54, allocations: 8.719 kB / 3.742 GB, free: 98.98 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/10.56, allocations: 1.239 MB / 3.743 GB, free: 98.47 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03944/10.59, allocations: 12.2 MB / 3.755 GB, free: 96.8 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001054/10.6, allocations: 437.2 kB / 3.755 GB, free: 96.79 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005061/10.6, allocations: 0.5889 MB / 3.756 GB, free: 96.78 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04384/10.64, allocations: 13.67 MB / 3.769 GB, free: 95.96 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006826/10.65, allocations: 29.38 kB / 3.769 GB, free: 95.95 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004462/10.65, allocations: 243.1 kB / 3.769 GB, free: 95.95 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002756/10.65, allocations: 136.9 kB / 3.77 GB, free: 95.95 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03652/10.69, allocations: 18.35 MB / 3.787 GB, free: 95.91 MB / 1.01 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.1068/10.79, allocations: 55.19 MB / 3.841 GB, free: 77.15 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01325/10.81, allocations: 8.837 MB / 3.85 GB, free: 77.06 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01261/10.82, allocations: 9.362 MB / 3.859 GB, free: 76.81 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05163/10.87, allocations: 26.18 MB / 3.885 GB, free: 67.23 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01147/10.88, allocations: 7.415 MB / 3.892 GB, free: 64.67 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04952/10.93, allocations: 21.13 MB / 3.913 GB, free: 62.04 MB / 1.01 GB Notification: Performance of pre-optimization done (n=301): time 4.042e-05/10.93, allocations: 0 / 3.913 GB, free: 62.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=301): time 0.05396/10.99, allocations: 23.01 MB / 3.935 GB, free: 53.54 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/10.99, allocations: 80.72 kB / 3.935 GB, free: 53.47 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01758/11, allocations: 7.798 MB / 3.943 GB, free: 51.05 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.002555/11.01, allocations: 101 kB / 3.943 GB, free: 50.97 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.006022/11.01, allocations: 4.002 MB / 3.947 GB, free: 47.88 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.003733/11.02, allocations: 1.085 MB / 3.948 GB, free: 47.05 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/11.02, allocations: 90.41 kB / 3.948 GB, free: 46.98 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003594/11.02, allocations: 492.6 kB / 3.948 GB, free: 46.6 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009073/11.03, allocations: 6.19 MB / 3.954 GB, free: 43.84 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01101/11.04, allocations: 8.017 MB / 3.962 GB, free: 36.17 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02136/11.06, allocations: 14.57 MB / 3.976 GB, free: 22.94 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.851e-05/11.06, allocations: 19.94 kB / 3.976 GB, free: 22.92 MB / 1.01 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03943/11.1, allocations: 16.69 MB / 3.993 GB, free: 7.379 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001482/11.1, allocations: 1.55 MB / 3.994 GB, free: 5.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/11.1, allocations: 48 kB / 3.994 GB, free: 5.133 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06289/11.16, allocations: 11.03 MB / 4.005 GB, free: 10.17 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009611/11.17, allocations: 1.6 MB / 4.007 GB, free: 8.633 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/11.18, allocations: 6.322 MB / 4.013 GB, free: 2.137 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01402/11.2, allocations: 0.5756 MB / 4.013 GB, free: 1.559 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003621/11.2, allocations: 0.5421 MB / 4.014 GB, free: 1.016 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/11.2, allocations: 10.03 kB / 4.014 GB, free: 1.008 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7357/11.94, allocations: 15.92 MB / 4.029 GB, free: 119.5 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001782/11.94, allocations: 45.22 kB / 4.03 GB, free: 119.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06106/12, allocations: 10.61 MB / 4.04 GB, free: 119.4 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01055/12.01, allocations: 1.604 MB / 4.041 GB, free: 119.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/12.02, allocations: 10.21 MB / 4.051 GB, free: 114.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01231/12.04, allocations: 0.5623 MB / 4.052 GB, free: 114.9 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003155/12.04, allocations: 0.532 MB / 4.052 GB, free: 114.9 MB / 1.026 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.00905/12.05, allocations: 2.633 MB / 4.055 GB, free: 114.7 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003759/12.05, allocations: 0.752 MB / 4.056 GB, free: 114.7 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0254/12.08, allocations: 13.66 MB / 4.069 GB, free: 114.4 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.514e-05/12.08, allocations: 36.44 kB / 4.069 GB, free: 114.4 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/12.08, allocations: 0 / 4.069 GB, free: 114.4 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01412/12.09, allocations: 10.26 MB / 4.079 GB, free: 114 MB / 1.026 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.04095/12.13, allocations: 23.82 MB / 4.102 GB, free: 110.8 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/12.13, allocations: 2.719 kB / 4.102 GB, free: 110.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004832/12.14, allocations: 0.7037 MB / 4.103 GB, free: 110.8 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06005/12.2, allocations: 9.94 MB / 4.113 GB, free: 110.8 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001337/12.2, allocations: 104.4 kB / 4.113 GB, free: 110.8 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/12.2, allocations: 4.315 MB / 4.117 GB, free: 108 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/12.2, allocations: 1.562 kB / 4.117 GB, free: 108 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03447/12.24, allocations: 18.44 MB / 4.135 GB, free: 107.6 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008658/12.25, allocations: 1.903 MB / 4.137 GB, free: 107.2 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004123/12.25, allocations: 73.58 kB / 4.137 GB, free: 107.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009491/12.26, allocations: 400.4 kB / 4.137 GB, free: 107.2 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001732/12.26, allocations: 218.5 kB / 4.138 GB, free: 107.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001259/12.26, allocations: 157.6 kB / 4.138 GB, free: 107.2 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01378/12.28, allocations: 5.34 MB / 4.143 GB, free: 106.9 MB / 1.026 GB Notification: Performance of sort global known variables: time 7.01e-07/12.28, allocations: 3.781 kB / 4.143 GB, free: 106.9 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02644/12.3, allocations: 4.872 MB / 4.148 GB, free: 106.7 MB / 1.026 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.003749/12.31, allocations: 1.251 MB / 4.149 GB, free: 106.5 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.03909/12.35, allocations: 23.58 MB / 4.172 GB, free: 105.7 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/12.35, allocations: 3.625 kB / 4.172 GB, free: 105.7 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.009431/12.36, allocations: 6.19 MB / 4.178 GB, free: 105.6 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03466/12.39, allocations: 4.587 MB / 4.183 GB, free: 105.4 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04932/12.44, allocations: 22.3 MB / 4.204 GB, free: 97.56 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01121/12.45, allocations: 5.212 MB / 4.209 GB, free: 96.59 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02529/12.48, allocations: 4.981 MB / 4.214 GB, free: 95.82 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006055/12.48, allocations: 0.9025 MB / 4.215 GB, free: 95.81 MB / 1.026 GB Notification: Performance of SimCode: time 1.423e-06/12.48, allocations: 0 / 4.215 GB, free: 95.81 MB / 1.026 GB Notification: Performance of Templates: time 0.9743/13.46, allocations: 219.1 MB / 4.429 GB, free: 149.1 MB / 1.057 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)