Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.734/1.734, allocations: 252 MB / 0.5102 GB, free: 4.805 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005668/0.000567, allocations: 20 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5704/0.571, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001774/0.5728, allocations: 1.219 MB / 0.7293 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006336/0.5735, allocations: 439.8 kB / 0.7297 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.5735, allocations: 0 / 0.7297 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.5736, allocations: 3.984 kB / 0.7298 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.819e-05/0.5736, allocations: 11.88 kB / 0.7298 GB, free: 9.758 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001581/0.5738, allocations: 15.97 kB / 0.7298 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.933e-05/0.5739, allocations: 39.8 kB / 0.7298 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.574, allocations: 15.98 kB / 0.7298 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.488e-05/0.5741, allocations: 11.94 kB / 0.7298 GB, free: 9.676 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.856e-05/0.5742, allocations: 23.91 kB / 0.7299 GB, free: 9.652 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.5742, allocations: 4 kB / 0.7299 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.5742, allocations: 3.938 kB / 0.7299 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.5742, allocations: 11.92 kB / 0.7299 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.5743, allocations: 29.7 kB / 0.7299 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.342e-05/0.5743, allocations: 25.92 kB / 0.7299 GB, free: 9.574 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5744, allocations: 0 / 0.7299 GB, free: 9.574 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.5744, allocations: 0 / 0.7299 GB, free: 9.574 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.5744, allocations: 4 kB / 0.7299 GB, free: 9.57 MB / 0.545 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.000505/0.5749, allocations: 367.1 kB / 0.7303 GB, free: 9.164 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.5749, allocations: 8.031 kB / 0.7303 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.575, allocations: 7.906 kB / 0.7303 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.5751, allocations: 171 kB / 0.7305 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.5751, allocations: 0 / 0.7305 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.5752, allocations: 4 kB / 0.7305 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.5753, allocations: 61.67 kB / 0.7305 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.5754, allocations: 0 / 0.7305 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.5754, allocations: 0 / 0.7305 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.5754, allocations: 0 / 0.7305 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.5755, allocations: 47.97 kB / 0.7306 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004109/0.5759, allocations: 272.8 kB / 0.7308 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001325/0.5761, allocations: 50.55 kB / 0.7309 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.5762, allocations: 32.94 kB / 0.7309 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.5762, allocations: 3.984 kB / 0.7309 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.5762, allocations: 34.56 kB / 0.731 GB, free: 8.367 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.5762, allocations: 3.938 kB / 0.731 GB, free: 8.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.000317/0.5766, allocations: 105.7 kB / 0.7311 GB, free: 8.254 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.5766, allocations: 59.36 kB / 0.7311 GB, free: 8.184 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.834e-05/0.5767, allocations: 117.8 kB / 0.7312 GB, free: 8.059 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.5767, allocations: 25.7 kB / 0.7313 GB, free: 8.027 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.5768, allocations: 92.08 kB / 0.7313 GB, free: 7.934 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.5768, allocations: 7.812 kB / 0.7313 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.5768, allocations: 7.938 kB / 0.7314 GB, free: 7.918 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.577, allocations: 322.8 kB / 0.7317 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.328e-05/0.577, allocations: 19.98 kB / 0.7317 GB, free: 7.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-05/0.5771, allocations: 19.98 kB / 0.7317 GB, free: 7.555 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.937e-05/0.5772, allocations: 27.98 kB / 0.7317 GB, free: 7.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5772, allocations: 0 / 0.7317 GB, free: 7.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001566/0.5774, allocations: 73.61 kB / 0.7318 GB, free: 7.449 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.5774, allocations: 4 kB / 0.7318 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5774, allocations: 4 kB / 0.7318 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5774, allocations: 0 / 0.7318 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.5775, allocations: 15.98 kB / 0.7318 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.5775, allocations: 3.953 kB / 0.7318 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.5776, allocations: 11.91 kB / 0.7318 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.5776, allocations: 7.984 kB / 0.7318 GB, free: 7.402 MB / 0.545 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 7.726e-05/0.5777, allocations: 105.8 kB / 0.7319 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.5777, allocations: 4 kB / 0.7319 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.647e-05/0.5778, allocations: 7.906 kB / 0.732 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5778, allocations: 0 / 0.732 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5778, allocations: 4 kB / 0.732 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.5778, allocations: 7.953 kB / 0.732 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.578, allocations: 169.6 kB / 0.7321 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.578, allocations: 0 / 0.7321 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.508e-05/0.578, allocations: 8 kB / 0.7321 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5781, allocations: 0 / 0.7321 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.5781, allocations: 3.984 kB / 0.7321 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5781, allocations: 0 / 0.7321 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.5781, allocations: 4 kB / 0.7321 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.5783, allocations: 183.3 kB / 0.7323 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/0.5784, allocations: 81.09 kB / 0.7324 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.5784, allocations: 4 kB / 0.7324 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.626e-05/0.5785, allocations: 4 kB / 0.7324 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.5785, allocations: 7.984 kB / 0.7324 GB, free: 6.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.5785, allocations: 4 kB / 0.7324 GB, free: 6.719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.243e-05/0.5786, allocations: 95.2 kB / 0.7325 GB, free: 6.625 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5786, allocations: 0 / 0.7325 GB, free: 6.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002086/0.5788, allocations: 15.84 kB / 0.7325 GB, free: 6.609 MB / 0.545 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.000113/0.5789, allocations: 99.25 kB / 0.7326 GB, free: 6.504 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.5791, allocations: 51.91 kB / 0.7327 GB, free: 6.453 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5791, allocations: 0 / 0.7327 GB, free: 6.453 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.527e-05/0.5792, allocations: 23.98 kB / 0.7327 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.5794, allocations: 7.953 kB / 0.7327 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.5798, allocations: 182.5 kB / 0.7329 GB, free: 6.219 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.58, allocations: 0.6848 MB / 0.7335 GB, free: 5.508 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.5801, allocations: 8.344 kB / 0.7335 GB, free: 5.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.5801, allocations: 7.438 kB / 0.7336 GB, free: 5.492 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.5801, allocations: 4 kB / 0.7336 GB, free: 5.488 MB / 0.545 GB Notification: Performance of Templates: time 0.002457/0.5826, allocations: 391.6 kB / 0.7339 GB, free: 5.117 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) Environment - environmentSimulation: