Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0019/0.0019, allocations: 193.8 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.634/1.634, allocations: 251.7 MB / 0.5088 GB, free: 3.305 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001319/0.00132, allocations: 63.92 kB / 0.6216 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5574/0.5588, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003575/0.5624, allocations: 1.569 MB / 0.7253 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008324/0.5633, allocations: 459.5 kB / 0.7258 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.5633, allocations: 4 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.873e-05/0.5634, allocations: 7.922 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.065e-05/0.5635, allocations: 7.938 kB / 0.7258 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001801/0.5637, allocations: 15.97 kB / 0.7258 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.533e-05/0.5638, allocations: 51.73 kB / 0.7259 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.5639, allocations: 11.98 kB / 0.7259 GB, free: 11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.363e-05/0.564, allocations: 15.94 kB / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.646e-05/0.5641, allocations: 23.91 kB / 0.7259 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.5641, allocations: 7.938 kB / 0.7259 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.5641, allocations: 4 kB / 0.7259 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.5642, allocations: 11.92 kB / 0.7259 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.5642, allocations: 19.86 kB / 0.726 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.67e-05/0.5643, allocations: 41.86 kB / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5643, allocations: 0 / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.123e-06/0.5643, allocations: 0 / 0.726 GB, free: 10.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.5643, allocations: 0 / 0.726 GB, free: 10.88 MB / 0.545 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.0005244/0.5649, allocations: 367.2 kB / 0.7264 GB, free: 10.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.5649, allocations: 12.03 kB / 0.7264 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.5649, allocations: 4.938 kB / 0.7264 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.5651, allocations: 176.2 kB / 0.7265 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.5651, allocations: 384 / 0.7265 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.5651, allocations: 4.375 kB / 0.7265 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.5653, allocations: 57.98 kB / 0.7266 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.5653, allocations: 3.938 kB / 0.7266 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.5653, allocations: 0 / 0.7266 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.5653, allocations: 4 kB / 0.7266 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.5655, allocations: 35.97 kB / 0.7266 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.5659, allocations: 276.8 kB / 0.7269 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.566, allocations: 46.55 kB / 0.7269 GB, free: 9.762 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.775e-05/0.5661, allocations: 20.94 kB / 0.727 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.5661, allocations: 4 kB / 0.727 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.5661, allocations: 34.56 kB / 0.727 GB, free: 9.691 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.625e-06/0.5661, allocations: 3.984 kB / 0.727 GB, free: 9.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003102/0.5664, allocations: 85.59 kB / 0.7271 GB, free: 9.598 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.5665, allocations: 55.41 kB / 0.7271 GB, free: 9.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.5666, allocations: 121.8 kB / 0.7273 GB, free: 9.402 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.5666, allocations: 29.7 kB / 0.7273 GB, free: 9.367 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.5667, allocations: 92.08 kB / 0.7274 GB, free: 9.273 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.5667, allocations: 7.812 kB / 0.7274 GB, free: 9.266 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.5667, allocations: 21.7 kB / 0.7274 GB, free: 9.238 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.5668, allocations: 314.8 kB / 0.7277 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.5669, allocations: 19.98 kB / 0.7277 GB, free: 8.902 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.53e-05/0.567, allocations: 15.98 kB / 0.7277 GB, free: 8.887 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.5671, allocations: 44.83 kB / 0.7278 GB, free: 8.84 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5671, allocations: 0 / 0.7278 GB, free: 8.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001658/0.5673, allocations: 73.61 kB / 0.7278 GB, free: 8.762 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5673, allocations: 4 kB / 0.7279 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5673, allocations: 0 / 0.7279 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.5673, allocations: 0 / 0.7279 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.5674, allocations: 11.98 kB / 0.7279 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.5675, allocations: 3.938 kB / 0.7279 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.217e-05/0.5675, allocations: 11.98 kB / 0.7279 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.5675, allocations: 0 / 0.7279 GB, free: 8.73 MB / 0.545 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.571e-05/0.5676, allocations: 113.8 kB / 0.728 GB, free: 8.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.5676, allocations: 11.91 kB / 0.728 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.419e-05/0.5677, allocations: 3.906 kB / 0.728 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.5677, allocations: 3.938 kB / 0.728 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.5677, allocations: 0 / 0.728 GB, free: 8.586 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.5677, allocations: 3.984 kB / 0.728 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.5679, allocations: 181.6 kB / 0.7282 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.5679, allocations: 0 / 0.7282 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.73e-05/0.5679, allocations: 7.984 kB / 0.7282 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.568, allocations: 0 / 0.7282 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.568, allocations: 4 kB / 0.7282 GB, free: 8.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.568, allocations: 3.938 kB / 0.7282 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.568, allocations: 0 / 0.7282 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.5682, allocations: 179.4 kB / 0.7284 GB, free: 8.148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.5682, allocations: 77.11 kB / 0.7284 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.5683, allocations: 0 / 0.7284 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.5683, allocations: 4 kB / 0.7284 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.5684, allocations: 3.984 kB / 0.7285 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.752e-06/0.5684, allocations: 4 kB / 0.7285 GB, free: 8.043 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.877e-05/0.5685, allocations: 91.27 kB / 0.7285 GB, free: 7.953 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5685, allocations: 0 / 0.7285 GB, free: 7.953 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002167/0.5687, allocations: 12 kB / 0.7286 GB, free: 7.941 MB / 0.545 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001264/0.5688, allocations: 99.25 kB / 0.7286 GB, free: 7.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001827/0.569, allocations: 40.28 kB / 0.7287 GB, free: 7.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.569, allocations: 4 kB / 0.7287 GB, free: 7.793 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.606e-05/0.5691, allocations: 15.98 kB / 0.7287 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.5694, allocations: 15.92 kB / 0.7287 GB, free: 7.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.5698, allocations: 182 kB / 0.7289 GB, free: 7.559 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.5701, allocations: 0.6848 MB / 0.7296 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.17e-05/0.5701, allocations: 7.984 kB / 0.7296 GB, free: 6.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.5702, allocations: 7.438 kB / 0.7296 GB, free: 6.832 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.5702, allocations: 4 kB / 0.7296 GB, free: 6.828 MB / 0.545 GB Notification: Performance of Templates: time 0.002298/0.5725, allocations: 400 kB / 0.73 GB, free: 6.449 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)