Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.656/4.656, allocations: 0.5623 GB / 0.5769 GB, free: 3.309 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002359/0.002358, allocations: 351.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.848/3.848, allocations: 410.7 MB / 1.112 GB, free: 5.988 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001798/0.001797, allocations: 179.9 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004785, allocations: 8 kB / 1.348 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5696/0.5701, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001464/0.5716, allocations: 1.211 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006219/0.5723, allocations: 434.7 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.5723, allocations: 1.469 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.348e-05/0.5724, allocations: 0 / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.215e-05/0.5724, allocations: 19.84 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001232/0.5726, allocations: 8.5 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.724e-05/0.5726, allocations: 43.78 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.891e-05/0.5727, allocations: 13.25 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.5728, allocations: 21.19 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.391e-05/0.5729, allocations: 19.92 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.5729, allocations: 0 / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.573, allocations: 4.844 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.573, allocations: 7.922 kB / 1.462 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.573, allocations: 34.89 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.769e-05/0.5731, allocations: 26.06 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.229e-06/0.5731, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.045e-06/0.5731, allocations: 1.062 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.5731, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 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.0003812/0.5735, allocations: 364.9 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.5736, allocations: 11.62 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.5736, allocations: 4.75 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.188e-05/0.5737, allocations: 179.6 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.5737, allocations: 4.594 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.5737, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.5739, allocations: 63.23 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.5739, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.405e-06/0.574, allocations: 6.625 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-06/0.574, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.5741, allocations: 43.91 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.5745, allocations: 275.3 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.5746, allocations: 48.12 kB / 1.463 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.986e-05/0.5747, allocations: 26.81 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.5748, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.5748, allocations: 34.56 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.707e-06/0.5748, allocations: 0.5 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0003684/0.5752, allocations: 109.2 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.5752, allocations: 55.36 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.5753, allocations: 115.6 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.5753, allocations: 30.67 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.433e-05/0.5754, allocations: 92.12 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.5754, allocations: 8.5 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-06/0.5754, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.5755, allocations: 315.4 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.693e-05/0.5756, allocations: 25.83 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.5756, allocations: 17.84 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.384e-05/0.5757, allocations: 21.17 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.23e-06/0.5758, allocations: 4 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002115/0.576, allocations: 84.97 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.576, allocations: 7.938 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.62e-06/0.576, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.576, allocations: 1.266 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.5762, allocations: 16.61 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.812e-06/0.5762, allocations: 4.547 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/0.5763, allocations: 4.844 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.5763, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 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 6.164e-05/0.5763, allocations: 115.6 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.5764, allocations: 3.906 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.5764, allocations: 19.83 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5764, allocations: 0.5 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.752e-06/0.5765, allocations: 5.25 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.5765, allocations: 3.953 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.5766, allocations: 165.7 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.909e-06/0.5766, allocations: 4 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.038e-05/0.5767, allocations: 13.23 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.001e-06/0.5768, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.95e-06/0.5768, allocations: 0.5 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.019e-06/0.5768, allocations: 2.406 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-06/0.5768, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.577, allocations: 181.5 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.5771, allocations: 82.52 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.5771, allocations: 7.938 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.5772, allocations: 11.98 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.5773, allocations: 2.656 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-06/0.5773, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.06e-05/0.5773, allocations: 91.27 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.41e-07/0.5773, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002967/0.5776, allocations: 8 kB / 1.465 GB, free: 279.5 MB / 0.8542 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 8.031e-05/0.5777, allocations: 104 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.578, allocations: 49.03 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.578, allocations: 0 / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.5781, allocations: 27.92 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.5784, allocations: 14.36 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.5787, allocations: 184.6 kB / 1.465 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.5789, allocations: 0.6898 MB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.283e-05/0.5789, allocations: 1.766 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.579, allocations: 8.438 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of SimCode: time 2.453e-06/0.579, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.002518/0.5815, allocations: 388.3 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB