Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.185/2.185, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 173.7 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.412/2.412, allocations: 205.4 MB / 0.5766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.00107, allocations: 98.23 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004636, allocations: 14.34 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2087, allocations: 106.2 MB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2217/0.4304, allocations: 132.2 MB / 1.028 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/0.4308, allocations: 95.92 kB / 1.028 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004971/0.4358, allocations: 1.148 MB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4359, allocations: 8 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.4359, allocations: 0 / 1.029 GB, free: 12.31 MB / 0.6823 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.0005142/0.4364, allocations: 363.1 kB / 1.03 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4365, allocations: 8.031 kB / 1.03 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.4365, allocations: 11.89 kB / 1.03 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.4367, allocations: 167 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.4367, allocations: 7.984 kB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.4367, allocations: 4 kB / 1.03 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.437, allocations: 57.67 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.437, allocations: 0 / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.437, allocations: 7.938 kB / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.437, allocations: 0 / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002598/0.4373, allocations: 43.97 kB / 1.03 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004542/0.4378, allocations: 272.8 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.438, allocations: 46.56 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.438, allocations: 4 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.4381, allocations: 34.5 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.4381, allocations: 0 / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005/0.4386, allocations: 101.7 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.4386, allocations: 63.3 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/0.4388, allocations: 108.9 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4388, allocations: 25.7 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.4388, allocations: 84.14 kB / 1.031 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.4389, allocations: 23.73 kB / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.4389, allocations: 0 / 1.031 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.439, allocations: 310.8 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.4392, allocations: 27.98 kB / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.4393, allocations: 19.98 kB / 1.031 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.4395, allocations: 23.92 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4395, allocations: 0 / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003043/0.4398, allocations: 81.67 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4398, allocations: 11.92 kB / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4398, allocations: 0 / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.4399, allocations: 0 / 1.031 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.44, allocations: 12 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.4401, allocations: 4 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.551e-05/0.4402, allocations: 15.94 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.4402, allocations: 0 / 1.031 GB, free: 10.2 MB / 0.6823 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 9.887e-05/0.4403, allocations: 113.8 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.4403, allocations: 3.906 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.266e-05/0.4404, allocations: 7.906 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4404, allocations: 3.984 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4404, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4404, allocations: 0 / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.4406, allocations: 177.6 kB / 1.031 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4407, allocations: 3.938 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.4408, allocations: 15.98 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4408, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.4408, allocations: 336 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4408, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4408, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.4412, allocations: 191.4 kB / 1.032 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.4413, allocations: 77.11 kB / 1.032 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.4413, allocations: 0 / 1.032 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.4414, allocations: 7.984 kB / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.4415, allocations: 4 kB / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.4415, allocations: 0 / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.119e-05/0.4416, allocations: 99.27 kB / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.4e-07/0.4416, allocations: 0 / 1.032 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000272/0.4419, allocations: 8 kB / 1.032 GB, free: 9.398 MB / 0.6823 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.0001269/0.442, allocations: 99.19 kB / 1.032 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003008/0.4423, allocations: 55.91 kB / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4423, allocations: 0 / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.4425, allocations: 23.97 kB / 1.032 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.4427, allocations: 15.52 kB / 1.032 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.4432, allocations: 187.5 kB / 1.032 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.4434, allocations: 0.6848 MB / 1.033 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.982e-05/0.4435, allocations: 4 kB / 1.033 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.4435, allocations: 11.44 kB / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of SimCode: time 6.21e-07/0.4436, allocations: 0 / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of Templates: time 0.002852/0.4464, allocations: 384.2 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB