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.001165/0.001165, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.009009/0.00901, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.66/1.66, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.667/1.667, allocations: 252 MB / 0.5105 GB, free: 4.672 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.0005563/0.0005565, allocations: 16 kB / 0.6249 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7485/0.749, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00197/0.7511, allocations: 1.23 MB / 0.7299 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000727/0.7518, allocations: 455.5 kB / 0.7304 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.7519, allocations: 0 / 0.7304 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.7519, allocations: 3.984 kB / 0.7304 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.602e-05/0.752, allocations: 15.86 kB / 0.7304 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.7522, allocations: 11.98 kB / 0.7304 GB, free: 9.555 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.66e-05/0.7523, allocations: 47.73 kB / 0.7304 GB, free: 9.508 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.7525, allocations: 23.83 kB / 0.7305 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.7526, allocations: 15.92 kB / 0.7305 GB, free: 9.469 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.7527, allocations: 27.91 kB / 0.7305 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.7527, allocations: 0 / 0.7305 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.574e-05/0.7528, allocations: 4 kB / 0.7305 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.634e-05/0.7528, allocations: 7.938 kB / 0.7305 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.701e-05/0.7529, allocations: 45.56 kB / 0.7306 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.753, allocations: 41.84 kB / 0.7306 GB, free: 9.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.753, allocations: 0 / 0.7306 GB, free: 9.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.805e-06/0.753, allocations: 0 / 0.7306 GB, free: 9.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.753, allocations: 0 / 0.7306 GB, free: 9.34 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.0006044/0.7536, allocations: 363.4 kB / 0.7309 GB, free: 8.938 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.7537, allocations: 8.031 kB / 0.731 GB, free: 8.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.7537, allocations: 8.844 kB / 0.731 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.7539, allocations: 172.2 kB / 0.7311 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.7539, allocations: 384 / 0.7311 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.7539, allocations: 384 / 0.7311 GB, free: 8.715 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.7541, allocations: 69.98 kB / 0.7312 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.7542, allocations: 0 / 0.7312 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.7542, allocations: 0 / 0.7312 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.7542, allocations: 0 / 0.7312 GB, free: 8.641 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.7543, allocations: 39.97 kB / 0.7312 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/0.7549, allocations: 276.8 kB / 0.7315 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.755, allocations: 58.47 kB / 0.7316 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.586e-05/0.7551, allocations: 28.94 kB / 0.7316 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.7551, allocations: 4 kB / 0.7316 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.7552, allocations: 34.56 kB / 0.7316 GB, free: 8.137 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.7552, allocations: 0 / 0.7316 GB, free: 8.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003497/0.7555, allocations: 105.5 kB / 0.7317 GB, free: 8.027 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.7556, allocations: 55.41 kB / 0.7318 GB, free: 7.961 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.7557, allocations: 113.8 kB / 0.7319 GB, free: 7.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.7557, allocations: 29.7 kB / 0.7319 GB, free: 7.805 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.7558, allocations: 92.08 kB / 0.732 GB, free: 7.711 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.7558, allocations: 3.906 kB / 0.732 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.7559, allocations: 13.72 kB / 0.732 GB, free: 7.688 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.756, allocations: 322.8 kB / 0.7323 GB, free: 7.363 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.34e-05/0.7561, allocations: 23.98 kB / 0.7323 GB, free: 7.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.37e-05/0.7562, allocations: 23.98 kB / 0.7324 GB, free: 7.316 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.7563, allocations: 48.83 kB / 0.7324 GB, free: 7.266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7563, allocations: 0 / 0.7324 GB, free: 7.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001768/0.7565, allocations: 81.52 kB / 0.7325 GB, free: 7.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.7565, allocations: 4 kB / 0.7325 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7565, allocations: 3.938 kB / 0.7325 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.7566, allocations: 4 kB / 0.7325 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.7567, allocations: 15.98 kB / 0.7325 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.7567, allocations: 0 / 0.7325 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.7567, allocations: 4 kB / 0.7325 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.7568, allocations: 7.984 kB / 0.7325 GB, free: 7.141 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.071e-05/0.7569, allocations: 113.8 kB / 0.7326 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.7569, allocations: 7.906 kB / 0.7326 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.373e-05/0.7569, allocations: 7.906 kB / 0.7327 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.757, allocations: 0 / 0.7327 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.757, allocations: 4 kB / 0.7327 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.757, allocations: 0 / 0.7327 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.7572, allocations: 181.6 kB / 0.7328 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7572, allocations: 3.938 kB / 0.7328 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.728e-05/0.7573, allocations: 8 kB / 0.7328 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7573, allocations: 0 / 0.7328 GB, free: 6.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.7573, allocations: 3.984 kB / 0.7328 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7573, allocations: 0 / 0.7328 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7573, allocations: 0 / 0.7328 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.7576, allocations: 183.4 kB / 0.733 GB, free: 6.559 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/0.7576, allocations: 85.38 kB / 0.7331 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.7576, allocations: 4 kB / 0.7331 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.828e-05/0.7577, allocations: 4 kB / 0.7331 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.7578, allocations: 7.984 kB / 0.7331 GB, free: 6.441 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.7578, allocations: 0 / 0.7331 GB, free: 6.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.462e-05/0.7579, allocations: 95.7 kB / 0.7332 GB, free: 6.348 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7579, allocations: 0 / 0.7332 GB, free: 6.348 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002161/0.7581, allocations: 8 kB / 0.7332 GB, free: 6.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001381/0.7582, allocations: 95.25 kB / 0.7333 GB, free: 6.238 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.7585, allocations: 59.89 kB / 0.7334 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7585, allocations: 0 / 0.7334 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.7586, allocations: 23.98 kB / 0.7334 GB, free: 6.156 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.7588, allocations: 6.562 kB / 0.7334 GB, free: 6.152 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.7592, allocations: 190.5 kB / 0.7336 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.7595, allocations: 0.6887 MB / 0.7342 GB, free: 5.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.4e-05/0.7596, allocations: 3.938 kB / 0.7342 GB, free: 5.223 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.7596, allocations: 11.44 kB / 0.7343 GB, free: 5.211 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.7596, allocations: 4 kB / 0.7343 GB, free: 5.207 MB / 0.545 GB Notification: Performance of Templates: time 0.002624/0.7622, allocations: 398.4 kB / 0.7346 GB, free: 4.828 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: