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.254/2.254, allocations: 253.2 MB / 260.6 MB, free: 7.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001441/0.001441, allocations: 182.8 kB / 319.9 MB, free: 3.062 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.129/2.129, allocations: 205.6 MB / 0.5708 GB, free: 15.24 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.001182/0.001181, allocations: 94.62 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.22e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2155, allocations: 106.2 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8802/1.096, allocations: 132.4 MB / 1.018 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/1.096, allocations: 83.62 kB / 1.018 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005006/1.101, allocations: 1.149 MB / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.523e-06/1.101, allocations: 0 / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.301e-05/1.101, allocations: 4 kB / 1.019 GB, free: 3.895 MB / 0.6355 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.0004754/1.102, allocations: 345.9 kB / 1.019 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/1.102, allocations: 8.031 kB / 1.019 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/1.102, allocations: 7.906 kB / 1.019 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/1.102, allocations: 178.2 kB / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/1.102, allocations: 0 / 1.02 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/1.102, allocations: 4 kB / 1.02 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001204/1.102, allocations: 13.5 kB / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/1.102, allocations: 46 kB / 1.02 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.102, allocations: 4 kB / 1.02 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/1.102, allocations: 3.938 kB / 1.02 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.102, allocations: 0 / 1.02 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004414/1.103, allocations: 254.5 kB / 1.02 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.133e-05/1.103, allocations: 26.39 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.859e-05/1.103, allocations: 20.67 kB / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/1.103, allocations: 0 / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/1.103, allocations: 42.39 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/1.103, allocations: 0 / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002146/1.103, allocations: 53.5 kB / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/1.103, allocations: 51.41 kB / 1.02 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.889e-05/1.103, allocations: 102.6 kB / 1.02 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/1.104, allocations: 25.7 kB / 1.02 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/1.104, allocations: 98.47 kB / 1.02 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/1.104, allocations: 7.906 kB / 1.02 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/1.104, allocations: 0 / 1.02 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.104, allocations: 317.9 kB / 1.021 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.501e-05/1.104, allocations: 7.438 kB / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.663e-05/1.104, allocations: 11.55 kB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/1.104, allocations: 7.562 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.104, allocations: 0 / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001325/1.104, allocations: 53.2 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.104, allocations: 9.094 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.104, allocations: 48 / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/1.104, allocations: 11.92 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/1.104, allocations: 11.98 kB / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/1.104, allocations: 0 / 1.021 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.108e-05/1.104, allocations: 7.906 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/1.104, allocations: 0 / 1.021 GB, free: 2.082 MB / 0.6355 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.246e-05/1.105, allocations: 114.3 kB / 1.021 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/1.105, allocations: 7.812 kB / 1.021 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/1.105, allocations: 8.344 kB / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/1.105, allocations: 0 / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.105, allocations: 0 / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/1.105, allocations: 0 / 1.021 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/1.105, allocations: 152.6 kB / 1.021 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.105, allocations: 0 / 1.021 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/1.105, allocations: 11.98 kB / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.105, allocations: 0 / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.105, allocations: 8 kB / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.105, allocations: 0 / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.105, allocations: 0 / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/1.105, allocations: 160.6 kB / 1.021 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/1.105, allocations: 81.02 kB / 1.021 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/1.105, allocations: 0 / 1.021 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/1.106, allocations: 4 kB / 1.021 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/1.106, allocations: 11.98 kB / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/1.106, allocations: 0 / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.69e-05/1.106, allocations: 90.62 kB / 1.021 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.106, allocations: 0 / 1.021 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003058/1.106, allocations: 8 kB / 1.021 GB, free: 1.383 MB / 0.6355 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.0001783/1.106, allocations: 103.2 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000134/1.106, allocations: 19.19 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.106, allocations: 0 / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.15e-05/1.106, allocations: 19.44 kB / 1.022 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/1.107, allocations: 3.953 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/1.107, allocations: 85.56 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/1.107, allocations: 0.6885 MB / 1.022 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.015e-05/1.107, allocations: 0 / 1.022 GB, free: 440 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.03e-05/1.107, allocations: 11.44 kB / 1.022 GB, free: 428 kB / 0.6355 GB Notification: Performance of SimCode: time 9.32e-07/1.107, allocations: 0 / 1.022 GB, free: 428 kB / 0.6355 GB Notification: Performance of Templates: time 0.002905/1.11, allocations: 360.5 kB / 1.023 GB, free: 84 kB / 0.6355 GB