Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.462/2.462, allocations: 285 MB / 292.5 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 176.9 kB / 360.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.2 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 94.34 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.394e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8094/0.8094, allocations: 115.2 MB / 0.9634 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/1.04, allocations: 137.8 MB / 1.098 GB, free: 2.723 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/1.041, allocations: 79.95 kB / 1.098 GB, free: 2.645 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004762/1.045, allocations: 1.144 MB / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.582e-06/1.046, allocations: 0 / 1.099 GB, free: 1.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.113e-06/1.046, allocations: 0.5938 kB / 1.099 GB, free: 1.52 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.0004943/1.046, allocations: 345.2 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/1.046, allocations: 12.03 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/1.046, allocations: 5.641 kB / 1.1 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/1.046, allocations: 186.4 kB / 1.1 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/1.046, allocations: 0 / 1.1 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/1.046, allocations: 4.625 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001037/1.046, allocations: 15.98 kB / 1.1 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/1.047, allocations: 42.41 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/1.047, allocations: 0.875 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/1.047, allocations: 0 / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.047, allocations: 0 / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/1.047, allocations: 259.2 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/1.047, allocations: 28.17 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.513e-05/1.047, allocations: 12.86 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/1.047, allocations: 0.7188 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/1.047, allocations: 35.25 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/1.047, allocations: 0 / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002068/1.048, allocations: 54.72 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/1.048, allocations: 53.09 kB / 1.1 GB, free: 348 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.325e-05/1.048, allocations: 109.8 kB / 1.1 GB, free: 232 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/1.048, allocations: 25.7 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.667e-05/1.048, allocations: 89.73 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/1.048, allocations: 11.89 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/1.048, allocations: 0 / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001341/1.048, allocations: 315.8 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.563e-05/1.048, allocations: 12 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/1.048, allocations: 15.94 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/1.048, allocations: 7.984 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.048, allocations: 0 / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001334/1.048, allocations: 56.83 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.048, allocations: 8 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/1.048, allocations: 1.5 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.048, allocations: 0 / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/1.049, allocations: 11.98 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/1.049, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.061e-05/1.049, allocations: 8 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/1.049, allocations: 8.312 kB / 1.101 GB, free: 15.65 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 8.253e-05/1.049, allocations: 112.7 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/1.049, allocations: 7.906 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/1.049, allocations: 12.33 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.049, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/1.049, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.049, allocations: 0 / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/1.049, allocations: 158.1 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/1.049, allocations: 10.94 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/1.049, allocations: 11.98 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.049, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/1.049, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1.049, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/1.049, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/1.05, allocations: 143.5 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/1.05, allocations: 88.97 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/1.05, allocations: 7.984 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/1.05, allocations: 4 kB / 1.101 GB, free: 15.03 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/1.05, allocations: 3.938 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/1.05, allocations: 3.984 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.143e-05/1.05, allocations: 91.28 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.51e-07/1.05, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003037/1.05, allocations: 4 kB / 1.101 GB, free: 14.93 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.0001276/1.05, allocations: 103.2 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001252/1.051, allocations: 27.98 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.051, allocations: 2.562 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-05/1.051, allocations: 10.16 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/1.051, allocations: 4 kB / 1.102 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/1.051, allocations: 78.27 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/1.051, allocations: 0.6884 MB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.63e-05/1.051, allocations: 13.95 kB / 1.102 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/1.051, allocations: 11.44 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/1.052, allocations: 0 / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of Templates: time 0.002801/1.054, allocations: 359.7 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)