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.847/1.847, allocations: 288.3 MB / 303.2 MB, free: 8.188 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.001246/0.001246, allocations: 195 kB / 371.9 MB, free: 10.25 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.887/1.887, allocations: 205.4 MB / 0.6306 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 94.84 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000451/0.000451, allocations: 11.44 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9769/1.254, allocations: 138.7 MB / 1.115 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/1.255, allocations: 84.86 kB / 1.115 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004624/1.259, allocations: 1.149 MB / 1.116 GB, free: 32.03 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.226e-06/1.259, allocations: 0 / 1.116 GB, free: 32.03 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.878e-06/1.259, allocations: 0 / 1.116 GB, free: 32.03 MB / 0.698 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.0004869/1.26, allocations: 356.3 kB / 1.116 GB, free: 31.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/1.26, allocations: 15.3 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/1.26, allocations: 7.781 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/1.26, allocations: 185.7 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/1.26, allocations: 1.5 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/1.26, allocations: 3.875 kB / 1.117 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/1.26, allocations: 59.05 kB / 1.117 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.26, allocations: 0 / 1.117 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/1.26, allocations: 3.938 kB / 1.117 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.26, allocations: 0 / 1.117 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/1.261, allocations: 44.83 kB / 1.117 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/1.261, allocations: 270.3 kB / 1.117 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/1.261, allocations: 51.34 kB / 1.117 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/1.261, allocations: 3.906 kB / 1.117 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/1.261, allocations: 30.56 kB / 1.117 GB, free: 31.07 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.645e-06/1.261, allocations: 0 / 1.117 GB, free: 31.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0003687/1.262, allocations: 111.9 kB / 1.117 GB, free: 31.03 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/1.262, allocations: 51.41 kB / 1.117 GB, free: 30.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/1.262, allocations: 103.7 kB / 1.117 GB, free: 30.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/1.262, allocations: 25.7 kB / 1.117 GB, free: 30.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/1.262, allocations: 94.83 kB / 1.117 GB, free: 30.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/1.262, allocations: 7.844 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/1.262, allocations: 0 / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.262, allocations: 329.1 kB / 1.118 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.751e-05/1.262, allocations: 17.89 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/1.262, allocations: 20.23 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.874e-05/1.262, allocations: 22.14 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.262, allocations: 4 kB / 1.118 GB, free: 30.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001836/1.263, allocations: 84.09 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.263, allocations: 3.844 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.263, allocations: 0 / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.263, allocations: 0 / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/1.263, allocations: 22.02 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.263, allocations: 0 / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/1.263, allocations: 6.359 kB / 1.118 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/1.263, allocations: 0 / 1.118 GB, free: 30.39 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001067/1.263, allocations: 121.2 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/1.263, allocations: 6.125 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/1.263, allocations: 10.33 kB / 1.118 GB, free: 30.27 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/1.263, allocations: 3.984 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.263, allocations: 4 kB / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.263, allocations: 0 / 1.118 GB, free: 30.26 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/1.263, allocations: 177.6 kB / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/1.263, allocations: 0 / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.718e-05/1.263, allocations: 10.2 kB / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.263, allocations: 2.766 kB / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/1.263, allocations: 0 / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.263, allocations: 0 / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.263, allocations: 3.969 kB / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/1.264, allocations: 176.1 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/1.264, allocations: 84.86 kB / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/1.264, allocations: 0 / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/1.264, allocations: 6.578 kB / 1.118 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/1.264, allocations: 13.27 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/1.264, allocations: 3.938 kB / 1.118 GB, free: 29.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.454e-05/1.264, allocations: 91.81 kB / 1.119 GB, free: 29.74 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/1.264, allocations: 0 / 1.119 GB, free: 29.74 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002042/1.264, allocations: 7.688 kB / 1.119 GB, free: 29.74 MB / 0.698 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 (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.0001736/1.264, allocations: 108.7 kB / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000192/1.265, allocations: 46.86 kB / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.265, allocations: 0 / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/1.265, allocations: 24.47 kB / 1.119 GB, free: 29.65 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/1.265, allocations: 8.891 kB / 1.119 GB, free: 29.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/1.265, allocations: 189.2 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/1.266, allocations: 0.6866 MB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.921e-05/1.266, allocations: 6.438 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/1.266, allocations: 11.25 kB / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.266, allocations: 0 / 1.12 GB, free: 28.8 MB / 0.698 GB Notification: Performance of Templates: time 0.002613/1.268, allocations: 383.4 kB / 1.12 GB, free: 28.75 MB / 0.698 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)