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.693/1.693, allocations: 288.3 MB / 303.2 MB, free: 8.293 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.001105/0.001105, allocations: 189 kB / 371.8 MB, free: 10.26 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.827/1.827, allocations: 205.4 MB / 0.6306 GB, free: 9.961 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.00106/0.00106, allocations: 94.88 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005553/0.0005552, allocations: 11.94 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2962, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.521, allocations: 421.7 MB / 1.391 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/1.521, allocations: 98.64 kB / 1.391 GB, free: 6.676 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 9.494/11.02, allocations: 2.281 GB / 3.672 GB, free: 135.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.266e-06/11.02, allocations: 0 / 3.672 GB, free: 135.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001855/11.02, allocations: 260.1 kB / 3.672 GB, free: 135.6 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.04285/11.06, allocations: 9.467 MB / 3.682 GB, free: 132.4 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/11.06, allocations: 14.72 kB / 3.682 GB, free: 132.4 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/11.07, allocations: 1.235 MB / 3.683 GB, free: 131.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03665/11.11, allocations: 12.61 MB / 3.695 GB, free: 130.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006438/11.11, allocations: 436.3 kB / 3.695 GB, free: 130.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003287/11.11, allocations: 0.5871 MB / 3.696 GB, free: 130.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03186/11.14, allocations: 13.63 MB / 3.709 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005338/11.14, allocations: 20.09 kB / 3.709 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003623/11.15, allocations: 241.6 kB / 3.71 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001913/11.15, allocations: 136.1 kB / 3.71 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0328/11.18, allocations: 18.35 MB / 3.728 GB, free: 129.8 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.109/11.29, allocations: 55.5 MB / 3.782 GB, free: 111 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01435/11.3, allocations: 8.839 MB / 3.79 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05779/11.36, allocations: 26.34 MB / 3.816 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01259/11.37, allocations: 7.406 MB / 3.823 GB, free: 103.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05335/11.43, allocations: 21.18 MB / 3.844 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=301): time 4.129e-05/11.43, allocations: 4.844 kB / 3.844 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=301): time 0.05274/11.48, allocations: 22.55 MB / 3.866 GB, free: 92.97 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/11.48, allocations: 87.28 kB / 3.866 GB, free: 92.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02115/11.5, allocations: 7.464 MB / 3.873 GB, free: 90.45 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.002712/11.5, allocations: 97.7 kB / 3.874 GB, free: 90.35 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.005583/11.51, allocations: 4.019 MB / 3.878 GB, free: 86.69 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00336/11.51, allocations: 1.087 MB / 3.879 GB, free: 85.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002406/11.52, allocations: 88 kB / 3.879 GB, free: 85.62 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0004902/11.52, allocations: 497 kB / 3.879 GB, free: 85.18 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009819/11.53, allocations: 6.18 MB / 3.885 GB, free: 80.1 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01123/11.54, allocations: 8.001 MB / 3.893 GB, free: 72.44 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/11.55, allocations: 7.084 MB / 3.9 GB, free: 66.38 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-05/11.55, allocations: 16 kB / 3.9 GB, free: 66.36 MB / 0.9792 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04129/11.59, allocations: 16.57 MB / 3.916 GB, free: 50.92 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.006792/11.6, allocations: 25.26 MB / 3.941 GB, free: 23.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001688/11.6, allocations: 48 kB / 3.941 GB, free: 23.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06581/11.66, allocations: 10.88 MB / 3.951 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00918/11.67, allocations: 1.599 MB / 3.953 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008578/11.68, allocations: 6.369 MB / 3.959 GB, free: 4.828 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01396/11.7, allocations: 0.5965 MB / 3.96 GB, free: 4.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003793/11.7, allocations: 0.5421 MB / 3.96 GB, free: 3.688 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/11.7, allocations: 5.406 kB / 3.96 GB, free: 3.684 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03909/11.74, allocations: 15.92 MB / 3.976 GB, free: 4.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002437/11.74, allocations: 48 kB / 3.976 GB, free: 3.973 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8262/12.56, allocations: 10.61 MB / 3.986 GB, free: 153.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/12.58, allocations: 1.593 MB / 3.988 GB, free: 153.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/12.59, allocations: 10.36 MB / 3.998 GB, free: 149 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01345/12.61, allocations: 0.5699 MB / 3.999 GB, free: 149 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0036/12.61, allocations: 0.5371 MB / 3.999 GB, free: 149 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.01121/12.62, allocations: 2.632 MB / 4.002 GB, free: 148.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005831/12.63, allocations: 0.749 MB / 4.002 GB, free: 148.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03467/12.66, allocations: 13.67 MB / 4.016 GB, free: 148.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-05/12.66, allocations: 40.45 kB / 4.016 GB, free: 148.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.201e-05/12.66, allocations: 0 / 4.016 GB, free: 148.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02164/12.68, allocations: 10.25 MB / 4.026 GB, free: 148.1 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05596/12.74, allocations: 23.95 MB / 4.049 GB, free: 144.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-05/12.74, allocations: 3.953 kB / 4.049 GB, free: 144.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00569/12.74, allocations: 0.6904 MB / 4.05 GB, free: 144.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06442/12.81, allocations: 9.937 MB / 4.06 GB, free: 144.9 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001901/12.81, allocations: 103.3 kB / 4.06 GB, free: 144.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005441/12.82, allocations: 4.326 MB / 4.064 GB, free: 142.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/12.82, allocations: 0 / 4.064 GB, free: 142.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03266/12.85, allocations: 18.53 MB / 4.082 GB, free: 141.6 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009559/12.86, allocations: 1.988 MB / 4.084 GB, free: 141.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004623/12.86, allocations: 77.47 kB / 4.084 GB, free: 141.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01005/12.87, allocations: 416.6 kB / 4.084 GB, free: 141.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001628/12.87, allocations: 220 kB / 4.085 GB, free: 141.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001582/12.88, allocations: 157.4 kB / 4.085 GB, free: 141.1 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.01495/12.89, allocations: 5.806 MB / 4.09 GB, free: 140.8 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.755e-06/12.89, allocations: 0.6875 kB / 4.09 GB, free: 140.8 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03059/12.92, allocations: 4.926 MB / 4.095 GB, free: 140.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.004633/12.93, allocations: 1.275 MB / 4.096 GB, free: 140.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0463/12.97, allocations: 23.57 MB / 4.119 GB, free: 139.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/12.97, allocations: 7.031 kB / 4.119 GB, free: 139.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01089/12.98, allocations: 6.19 MB / 4.125 GB, free: 139.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02829/13.01, allocations: 4.611 MB / 4.13 GB, free: 139.4 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04544/13.06, allocations: 22.34 MB / 4.152 GB, free: 131.6 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00638/13.06, allocations: 5.358 MB / 4.157 GB, free: 130.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.02424/13.09, allocations: 5.008 MB / 4.162 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007661/13.1, allocations: 0.9176 MB / 4.163 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.132e-06/13.1, allocations: 0 / 4.163 GB, free: 129.9 MB / 0.9948 GB Notification: Performance of Templates: time 1.043/14.14, allocations: 219.7 MB / 4.377 GB, free: 152 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)