Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.643/1.643, allocations: 289.9 MB / 297.4 MB, free: 6.328 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.001363/0.001363, allocations: 188.8 kB / 366.7 MB, free: 1.652 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.839/1.839, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009454/0.0009452, allocations: 100.8 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.175e-05, allocations: 0 / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7816/0.7817, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2171/0.9988, allocations: 138.9 MB / 1.109 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.9991, allocations: 88.58 kB / 1.109 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003176/1.002, allocations: 1.146 MB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.663e-06/1.002, allocations: 0 / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.002, allocations: 0.7188 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003646/1.003, allocations: 344 kB / 1.11 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.003, allocations: 12.56 kB / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/1.003, allocations: 0 / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/1.003, allocations: 180.2 kB / 1.111 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/1.003, allocations: 0 / 1.111 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/1.003, allocations: 7.938 kB / 1.111 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.099e-05/1.003, allocations: 19.98 kB / 1.111 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.12e-05/1.003, allocations: 49.11 kB / 1.111 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/1.003, allocations: 0 / 1.111 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/1.003, allocations: 0 / 1.111 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.003, allocations: 0 / 1.111 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/1.004, allocations: 258.8 kB / 1.111 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.935e-05/1.004, allocations: 31.67 kB / 1.111 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/1.004, allocations: 12.86 kB / 1.111 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/1.004, allocations: 1.125 kB / 1.111 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/1.004, allocations: 38.25 kB / 1.111 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/1.004, allocations: 0 / 1.111 GB, free: 9.062 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001769/1.004, allocations: 53.69 kB / 1.111 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/1.004, allocations: 51.41 kB / 1.111 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/1.004, allocations: 107.8 kB / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/1.004, allocations: 25.7 kB / 1.111 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/1.004, allocations: 88.14 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/1.004, allocations: 7.906 kB / 1.111 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/1.004, allocations: 0.5312 kB / 1.111 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.004, allocations: 319.5 kB / 1.112 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/1.004, allocations: 11 kB / 1.112 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/1.004, allocations: 17.53 kB / 1.112 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.396e-05/1.004, allocations: 4 kB / 1.112 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.004, allocations: 0 / 1.112 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.851e-05/1.005, allocations: 53.59 kB / 1.112 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/1.005, allocations: 13.48 kB / 1.112 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.005, allocations: 0 / 1.112 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.005, allocations: 0 / 1.112 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/1.005, allocations: 9.094 kB / 1.112 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/1.005, allocations: 2.953 kB / 1.112 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.583e-05/1.005, allocations: 11.98 kB / 1.112 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/1.005, allocations: 4 kB / 1.112 GB, free: 8.262 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.872e-05/1.005, allocations: 104.9 kB / 1.112 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/1.005, allocations: 7.906 kB / 1.112 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/1.005, allocations: 8.344 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/1.005, allocations: 0 / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.005, allocations: 3.984 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/1.005, allocations: 0 / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/1.005, allocations: 154 kB / 1.112 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/1.005, allocations: 7.953 kB / 1.112 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.512e-05/1.005, allocations: 19.92 kB / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.005, allocations: 0 / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.627e-06/1.005, allocations: 0 / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/1.005, allocations: 0 / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.005, allocations: 0 / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/1.005, allocations: 143.7 kB / 1.112 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/1.005, allocations: 93 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/1.005, allocations: 4 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/1.006, allocations: 7.984 kB / 1.112 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/1.006, allocations: 0 / 1.112 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/1.006, allocations: 0 / 1.112 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.628e-05/1.006, allocations: 95.27 kB / 1.112 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.433e-06/1.006, allocations: 3.844 kB / 1.112 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001997/1.006, allocations: 7.938 kB / 1.112 GB, free: 7.535 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001208/1.006, allocations: 103.2 kB / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.156e-05/1.006, allocations: 27.92 kB / 1.113 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.006, allocations: 2.562 kB / 1.113 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.741e-05/1.006, allocations: 12 kB / 1.113 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/1.006, allocations: 0 / 1.113 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/1.006, allocations: 71.88 kB / 1.113 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/1.007, allocations: 0.6885 MB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.266e-05/1.007, allocations: 4 kB / 1.113 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/1.007, allocations: 11.42 kB / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/1.007, allocations: 0 / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of Templates: time 0.002041/1.009, allocations: 362.5 kB / 1.114 GB, free: 6.238 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)