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.007584/0.007583, allocations: 104.3 kB / 15.74 MB, free: 6.059 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.001493/0.001493, allocations: 196.4 kB / 16.68 MB, free: 5.969 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.591/1.591, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.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.446/1.446, allocations: 251.7 MB / 0.5094 GB, free: 420 kB / 430.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.00144/0.00144, allocations: 67.91 kB / 0.7258 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7439/0.7454, allocations: 104.7 MB / 0.828 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00281/0.7483, allocations: 1.499 MB / 0.8295 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0007748/0.7491, allocations: 477.8 kB / 0.83 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.7491, allocations: 0 / 0.83 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.7492, allocations: 3.938 kB / 0.83 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.7492, allocations: 7.938 kB / 0.83 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.7494, allocations: 19.91 kB / 0.83 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.7496, allocations: 51.78 kB / 0.83 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.7497, allocations: 15.98 kB / 0.8301 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.7498, allocations: 23.86 kB / 0.8301 GB, free: 500 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 9.257e-05/0.7499, allocations: 19.92 kB / 0.8301 GB, free: 480 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.7499, allocations: 4 kB / 0.8301 GB, free: 476 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.75, allocations: 4 kB / 0.8301 GB, free: 472 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.75, allocations: 15.92 kB / 0.8301 GB, free: 456 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.75, allocations: 23.86 kB / 0.8301 GB, free: 432 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.7502, allocations: 47.34 kB / 0.8302 GB, free: 388 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7502, allocations: 0 / 0.8302 GB, free: 388 kB / 0.6231 GB Notification: Performance of FrontEnd: time 3.597e-06/0.7502, allocations: 0 / 0.8302 GB, free: 388 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.7502, allocations: 3.938 kB / 0.8302 GB, free: 384 kB / 0.6231 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.000595/0.7508, allocations: 361.7 kB / 0.8305 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.7508, allocations: 12.03 kB / 0.8305 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.7509, allocations: 4.938 kB / 0.8305 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.751, allocations: 168.2 kB / 0.8307 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.7511, allocations: 8.375 kB / 0.8307 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.7511, allocations: 4.312 kB / 0.8307 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.7513, allocations: 65.97 kB / 0.8308 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.7513, allocations: 0 / 0.8308 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.7513, allocations: 0 / 0.8308 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.7513, allocations: 0 / 0.8308 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.7515, allocations: 39.97 kB / 0.8308 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.7519, allocations: 280.8 kB / 0.8311 GB, free: 15.31 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.7521, allocations: 42.5 kB / 0.8311 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.758e-05/0.7522, allocations: 24.94 kB / 0.8312 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.7522, allocations: 0 / 0.8312 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.7522, allocations: 38.56 kB / 0.8312 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 8.21e-07/0.7522, allocations: 0 / 0.8312 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0003489/0.7526, allocations: 81.66 kB / 0.8313 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.7527, allocations: 55.34 kB / 0.8313 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.7528, allocations: 117.8 kB / 0.8314 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.7528, allocations: 29.7 kB / 0.8315 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 5.185e-05/0.7528, allocations: 95.98 kB / 0.8316 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.7529, allocations: 7.906 kB / 0.8316 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.7529, allocations: 17.7 kB / 0.8316 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.7531, allocations: 322.8 kB / 0.8319 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.7531, allocations: 15.98 kB / 0.8319 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.454e-05/0.7532, allocations: 11.98 kB / 0.8319 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.7533, allocations: 48.83 kB / 0.832 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7533, allocations: 0 / 0.832 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001639/0.7535, allocations: 69.61 kB / 0.832 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.7535, allocations: 11.92 kB / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.7535, allocations: 4 kB / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.7536, allocations: 0 / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.7537, allocations: 4 kB / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.7537, allocations: 0 / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.75e-05/0.7538, allocations: 15.89 kB / 0.8321 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.7538, allocations: 4 kB / 0.8321 GB, free: 14.23 MB / 0.6387 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 8.622e-05/0.7539, allocations: 117.7 kB / 0.8322 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.7539, allocations: 4 kB / 0.8322 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.7539, allocations: 11.89 kB / 0.8322 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.754, allocations: 0 / 0.8322 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.754, allocations: 0 / 0.8322 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.754, allocations: 4 kB / 0.8322 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.7541, allocations: 169.6 kB / 0.8324 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7542, allocations: 4 kB / 0.8324 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.069e-05/0.7542, allocations: 15.98 kB / 0.8324 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.7542, allocations: 0 / 0.8324 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.7543, allocations: 0 / 0.8324 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7543, allocations: 0 / 0.8324 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.7543, allocations: 0 / 0.8324 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.7545, allocations: 175.6 kB / 0.8325 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.7545, allocations: 81.11 kB / 0.8326 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.7546, allocations: 4 kB / 0.8326 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.7547, allocations: 8.031 kB / 0.8326 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.7547, allocations: 7.984 kB / 0.8326 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.7547, allocations: 0 / 0.8326 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 5.23e-05/0.7548, allocations: 91.27 kB / 0.8327 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7548, allocations: 0 / 0.8327 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002213/0.755, allocations: 11.91 kB / 0.8327 GB, free: 13.44 MB / 0.6387 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.0001173/0.7551, allocations: 100.3 kB / 0.8328 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.7553, allocations: 43.95 kB / 0.8329 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7554, allocations: 3.938 kB / 0.8329 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.13e-05/0.7554, allocations: 23.92 kB / 0.8329 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.7557, allocations: 7.938 kB / 0.8329 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.7561, allocations: 164.3 kB / 0.8331 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.7563, allocations: 0.6844 MB / 0.8337 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.461e-05/0.7564, allocations: 0 / 0.8337 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.7564, allocations: 15.44 kB / 0.8337 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of SimCode: time 2.2e-07/0.7564, allocations: 3.938 kB / 0.8338 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of Templates: time 0.003102/0.7595, allocations: 463.2 kB / 0.8342 GB, free: 11.89 MB / 0.6387 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)