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.001276/0.001275, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 197.4 kB / 16.54 MB, free: 6.672 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.65/1.65, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.7/1.7, allocations: 251.7 MB / 0.5092 GB, free: 3.109 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.001779/0.00178, allocations: 75.89 kB / 0.6223 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6126/0.6144, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002992/0.6175, allocations: 1.5 MB / 0.726 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007921/0.6183, allocations: 471.4 kB / 0.7264 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.6183, allocations: 0 / 0.7264 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.6184, allocations: 3.938 kB / 0.7264 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.028e-05/0.6185, allocations: 7.938 kB / 0.7265 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.6187, allocations: 19.91 kB / 0.7265 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.6188, allocations: 55.78 kB / 0.7265 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.619, allocations: 11.98 kB / 0.7265 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.6191, allocations: 23.86 kB / 0.7266 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.206e-05/0.6192, allocations: 23.91 kB / 0.7266 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.6192, allocations: 4 kB / 0.7266 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/0.6193, allocations: 4 kB / 0.7266 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.6193, allocations: 7.938 kB / 0.7266 GB, free: 10.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.6193, allocations: 35.84 kB / 0.7266 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.6195, allocations: 37.86 kB / 0.7267 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.6195, allocations: 4 kB / 0.7267 GB, free: 10.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6195, allocations: 0 / 0.7267 GB, free: 10.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.6195, allocations: 0 / 0.7267 GB, free: 10.7 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.0005771/0.6201, allocations: 363.1 kB / 0.727 GB, free: 10.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.6201, allocations: 8.031 kB / 0.727 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.6202, allocations: 4.938 kB / 0.727 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.6203, allocations: 172.3 kB / 0.7272 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.6204, allocations: 4.375 kB / 0.7272 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.6204, allocations: 4.375 kB / 0.7272 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.6206, allocations: 61.92 kB / 0.7273 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.6206, allocations: 0 / 0.7273 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.6206, allocations: 4 kB / 0.7273 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.6206, allocations: 0 / 0.7273 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.6208, allocations: 31.97 kB / 0.7273 GB, free: 9.969 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.6212, allocations: 288.7 kB / 0.7276 GB, free: 9.637 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001405/0.6214, allocations: 46.44 kB / 0.7276 GB, free: 9.582 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.59e-05/0.6214, allocations: 24.94 kB / 0.7276 GB, free: 9.555 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.6215, allocations: 3.984 kB / 0.7276 GB, free: 9.551 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.6215, allocations: 34.56 kB / 0.7277 GB, free: 9.508 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.6215, allocations: 0 / 0.7277 GB, free: 9.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003834/0.6219, allocations: 81.66 kB / 0.7278 GB, free: 9.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.622, allocations: 55.41 kB / 0.7278 GB, free: 9.355 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.6221, allocations: 113.8 kB / 0.7279 GB, free: 9.234 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.6221, allocations: 25.7 kB / 0.7279 GB, free: 9.203 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.6222, allocations: 104.1 kB / 0.728 GB, free: 9.098 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.6222, allocations: 15.75 kB / 0.7281 GB, free: 9.082 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.6223, allocations: 13.72 kB / 0.7281 GB, free: 9.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6224, allocations: 322.8 kB / 0.7284 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.6225, allocations: 15.98 kB / 0.7284 GB, free: 8.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-05/0.6226, allocations: 19.98 kB / 0.7284 GB, free: 8.703 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.6227, allocations: 40.83 kB / 0.7284 GB, free: 8.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6227, allocations: 4 kB / 0.7285 GB, free: 8.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001665/0.6229, allocations: 65.67 kB / 0.7285 GB, free: 8.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.6229, allocations: 4 kB / 0.7285 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6229, allocations: 0 / 0.7285 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.623, allocations: 0 / 0.7285 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.6231, allocations: 15.92 kB / 0.7285 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.6231, allocations: 0 / 0.7285 GB, free: 8.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.31e-05/0.6231, allocations: 11.98 kB / 0.7285 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.6232, allocations: 4 kB / 0.7285 GB, free: 8.551 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 8.151e-05/0.6232, allocations: 113.8 kB / 0.7287 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.6233, allocations: 3.906 kB / 0.7287 GB, free: 8.426 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.6233, allocations: 12.23 kB / 0.7287 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.6233, allocations: 0 / 0.7287 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6233, allocations: 0 / 0.7287 GB, free: 8.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6233, allocations: 3.984 kB / 0.7287 GB, free: 8.406 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.6235, allocations: 173.6 kB / 0.7288 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6235, allocations: 3.938 kB / 0.7288 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.159e-05/0.6236, allocations: 15.98 kB / 0.7289 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6236, allocations: 0 / 0.7289 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.6236, allocations: 0 / 0.7289 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6236, allocations: 0 / 0.7289 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.6236, allocations: 8 kB / 0.7289 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.6238, allocations: 175.3 kB / 0.729 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.73e-05/0.6239, allocations: 81.11 kB / 0.7291 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.6239, allocations: 4 kB / 0.7291 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.014e-05/0.624, allocations: 4 kB / 0.7291 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.6241, allocations: 7.922 kB / 0.7291 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.6241, allocations: 0 / 0.7291 GB, free: 7.859 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.359e-05/0.6241, allocations: 95.7 kB / 0.7292 GB, free: 7.766 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6241, allocations: 0 / 0.7292 GB, free: 7.766 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002095/0.6243, allocations: 4 kB / 0.7292 GB, free: 7.762 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.0001144/0.6245, allocations: 103.2 kB / 0.7293 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000183/0.6247, allocations: 39.97 kB / 0.7294 GB, free: 7.613 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6247, allocations: 0 / 0.7294 GB, free: 7.613 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.319e-05/0.6247, allocations: 23.92 kB / 0.7294 GB, free: 7.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.625, allocations: 13.97 kB / 0.7294 GB, free: 7.578 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.6253, allocations: 168.1 kB / 0.7296 GB, free: 7.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.6256, allocations: 0.6846 MB / 0.7302 GB, free: 6.676 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.6257, allocations: 4 kB / 0.7302 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.6257, allocations: 7.438 kB / 0.7302 GB, free: 6.664 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.6257, allocations: 0 / 0.7302 GB, free: 6.664 MB / 0.545 GB Notification: Performance of Templates: time 0.002609/0.6283, allocations: 468.8 kB / 0.7307 GB, free: 6.219 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)