Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.728/1.728, allocations: 285.4 MB / 298 MB, free: 5.961 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.001317/0.001318, allocations: 184.8 kB / 366.4 MB, free: 2.113 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.871/1.871, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.001003/0.001003, allocations: 103.2 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.891e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8016/0.8017, allocations: 115.3 MB / 0.9709 GB, free: 77.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/1.029, allocations: 138.6 MB / 1.106 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.029, allocations: 84.45 kB / 1.106 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003583/1.033, allocations: 1.146 MB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.455e-06/1.033, allocations: 0.9062 kB / 1.107 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.513e-05/1.033, allocations: 4 kB / 1.107 GB, free: 12.06 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.0004397/1.034, allocations: 355.3 kB / 1.108 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/1.034, allocations: 8.719 kB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.556e-05/1.034, allocations: 4 kB / 1.108 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/1.034, allocations: 180.8 kB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/1.034, allocations: 0 / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/1.034, allocations: 9.25 kB / 1.108 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/1.034, allocations: 41.69 kB / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/1.034, allocations: 0 / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/1.034, allocations: 0 / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.034, allocations: 1.5 kB / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.86e-05/1.034, allocations: 27.92 kB / 1.108 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/1.035, allocations: 270.1 kB / 1.108 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.901e-05/1.035, allocations: 31.3 kB / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/1.035, allocations: 16.27 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/1.035, allocations: 0 / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/1.035, allocations: 35.22 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/1.035, allocations: 1.188 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002077/1.035, allocations: 57.62 kB / 1.108 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/1.035, allocations: 52.16 kB / 1.108 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/1.035, allocations: 113 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/1.035, allocations: 28.11 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/1.035, allocations: 84.14 kB / 1.109 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/1.035, allocations: 11.89 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/1.035, allocations: 0 / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.036, allocations: 318.8 kB / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/1.036, allocations: 8.781 kB / 1.109 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/1.036, allocations: 8 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.66e-05/1.036, allocations: 14.48 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.036, allocations: 0 / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001146/1.036, allocations: 61.53 kB / 1.109 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.036, allocations: 7.281 kB / 1.109 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/1.036, allocations: 3 kB / 1.109 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/1.036, allocations: 0 / 1.109 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/1.036, allocations: 19.98 kB / 1.109 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/1.036, allocations: 0 / 1.109 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/1.036, allocations: 4.75 kB / 1.109 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/1.036, allocations: 1.641 kB / 1.109 GB, free: 10.15 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 7.576e-05/1.036, allocations: 108.9 kB / 1.109 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/1.036, allocations: 4.656 kB / 1.109 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/1.036, allocations: 16.02 kB / 1.109 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/1.036, allocations: 4 kB / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.036, allocations: 0 / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.036, allocations: 0 / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/1.036, allocations: 179.1 kB / 1.109 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/1.036, allocations: 0 / 1.109 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-05/1.037, allocations: 11.98 kB / 1.109 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/1.037, allocations: 4.188 kB / 1.109 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/1.037, allocations: 0 / 1.109 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/1.037, allocations: 0 / 1.109 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.037, allocations: 0 / 1.109 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/1.037, allocations: 167.4 kB / 1.11 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/1.037, allocations: 85.02 kB / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/1.037, allocations: 0 / 1.11 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.02e-05/1.037, allocations: 4 kB / 1.11 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/1.037, allocations: 3.984 kB / 1.11 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/1.037, allocations: 5.5 kB / 1.11 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.881e-05/1.037, allocations: 91.28 kB / 1.11 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.037, allocations: 3.938 kB / 1.11 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002076/1.037, allocations: 8 kB / 1.11 GB, free: 9.371 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.000134/1.037, allocations: 99.23 kB / 1.11 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001099/1.038, allocations: 30 kB / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.038, allocations: 0 / 1.11 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.141e-05/1.038, allocations: 12 kB / 1.11 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/1.038, allocations: 7.516 kB / 1.11 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/1.038, allocations: 87.25 kB / 1.11 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/1.038, allocations: 0.6887 MB / 1.111 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.57e-05/1.038, allocations: 0 / 1.111 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/1.038, allocations: 11.44 kB / 1.111 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of SimCode: time 1.162e-06/1.038, allocations: 0 / 1.111 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of Templates: time 0.0024/1.041, allocations: 383.6 kB / 1.111 GB, free: 8.043 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)