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: 284.8 MB / 297.3 MB, free: 6.355 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.00158/0.00158, allocations: 188.6 kB / 365.7 MB, free: 2.586 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.981/1.981, allocations: 205.1 MB / 0.6241 GB, free: 8.176 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.00113/0.001129, allocations: 99.47 kB / 0.7372 GB, free: 40.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.047e-05/4.058e-05, allocations: 4 kB / 0.8574 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8188/0.8189, allocations: 115.2 MB / 0.97 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2435/1.062, allocations: 138.4 MB / 1.105 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003729/1.063, allocations: 91.84 kB / 1.105 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005344/1.068, allocations: 1.148 MB / 1.106 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.144e-06/1.068, allocations: 5.156 kB / 1.106 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.897e-06/1.068, allocations: 0 / 1.106 GB, free: 12.83 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.0005283/1.069, allocations: 349.3 kB / 1.107 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/1.069, allocations: 12.03 kB / 1.107 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/1.069, allocations: 1.203 kB / 1.107 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/1.069, allocations: 174.9 kB / 1.107 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/1.069, allocations: 4 kB / 1.107 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/1.069, allocations: 0.875 kB / 1.107 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/1.069, allocations: 47.19 kB / 1.107 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/1.069, allocations: 0.5312 kB / 1.107 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/1.069, allocations: 4 kB / 1.107 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/1.07, allocations: 1.156 kB / 1.107 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.307e-05/1.07, allocations: 19.92 kB / 1.107 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/1.07, allocations: 276 kB / 1.107 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/1.07, allocations: 30.58 kB / 1.107 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.958e-05/1.07, allocations: 19.45 kB / 1.107 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/1.07, allocations: 0 / 1.107 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/1.07, allocations: 32.25 kB / 1.107 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/1.07, allocations: 0 / 1.107 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002507/1.071, allocations: 61.62 kB / 1.107 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/1.071, allocations: 52.44 kB / 1.107 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/1.071, allocations: 110.2 kB / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/1.071, allocations: 26.42 kB / 1.108 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/1.071, allocations: 92.94 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/1.071, allocations: 13.3 kB / 1.108 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/1.071, allocations: 0.6562 kB / 1.108 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.071, allocations: 315.4 kB / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.277e-05/1.071, allocations: 12.81 kB / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.866e-05/1.071, allocations: 8 kB / 1.108 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.396e-05/1.071, allocations: 16.73 kB / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.071, allocations: 0 / 1.108 GB, free: 11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001495/1.072, allocations: 59.53 kB / 1.108 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/1.072, allocations: 8 kB / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.072, allocations: 0 / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/1.072, allocations: 0 / 1.108 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/1.072, allocations: 11.98 kB / 1.108 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/1.072, allocations: 4 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.872e-05/1.072, allocations: 10.56 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/1.072, allocations: 7.953 kB / 1.108 GB, free: 10.9 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 9.226e-05/1.072, allocations: 104.7 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/1.072, allocations: 7.906 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/1.072, allocations: 12.02 kB / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.072, allocations: 0 / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.072, allocations: 0 / 1.108 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.072, allocations: 4 kB / 1.108 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/1.073, allocations: 177.5 kB / 1.108 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.073, allocations: 0 / 1.108 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/1.073, allocations: 11.98 kB / 1.108 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.175e-06/1.073, allocations: 0 / 1.108 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/1.073, allocations: 0 / 1.108 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/1.073, allocations: 0 / 1.108 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.073, allocations: 3.938 kB / 1.108 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/1.073, allocations: 159.5 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/1.073, allocations: 81.02 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/1.073, allocations: 0 / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/1.073, allocations: 4 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/1.073, allocations: 7.984 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.128e-06/1.073, allocations: 4 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.89e-05/1.073, allocations: 93.58 kB / 1.109 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.384e-06/1.073, allocations: 0 / 1.109 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002735/1.074, allocations: 11.94 kB / 1.109 GB, free: 10.14 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.0001656/1.074, allocations: 103.2 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001447/1.074, allocations: 23.94 kB / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.074, allocations: 0 / 1.109 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.363e-05/1.074, allocations: 12 kB / 1.109 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001875/1.074, allocations: 3.953 kB / 1.109 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/1.075, allocations: 87.25 kB / 1.109 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/1.075, allocations: 0.6887 MB / 1.11 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.293e-05/1.075, allocations: 0 / 1.11 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/1.075, allocations: 11.44 kB / 1.11 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of SimCode: time 8.31e-07/1.075, allocations: 0 / 1.11 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of Templates: time 0.003327/1.079, allocations: 393.1 kB / 1.11 GB, free: 8.805 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)