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.01314/0.01314, allocations: 100.7 kB / 15.73 MB, free: 6.059 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.002443/0.002443, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.599/1.599, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.635/1.635, allocations: 251.7 MB / 0.5094 GB, free: 3.027 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.001523/0.001523, allocations: 71.91 kB / 0.7258 GB, free: 9.121 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2659, allocations: 104.7 MB / 0.828 GB, free: 324 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002799/0.2687, allocations: 1.509 MB / 0.8295 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007856/0.2695, allocations: 467.6 kB / 0.83 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.2696, allocations: 0 / 0.83 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.333e-05/0.2697, allocations: 3.938 kB / 0.83 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.024e-05/0.2697, allocations: 15.86 kB / 0.83 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.2699, allocations: 11.98 kB / 0.83 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.2701, allocations: 51.73 kB / 0.83 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2702, allocations: 15.97 kB / 0.8301 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.2703, allocations: 23.92 kB / 0.8301 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.2704, allocations: 19.92 kB / 0.8301 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.2704, allocations: 0 / 0.8301 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.2705, allocations: 11.94 kB / 0.8301 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/0.2705, allocations: 15.92 kB / 0.8301 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.2705, allocations: 19.88 kB / 0.8301 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.2707, allocations: 47.81 kB / 0.8302 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.2707, allocations: 3.984 kB / 0.8302 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2707, allocations: 0 / 0.8302 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.2707, allocations: 0 / 0.8302 GB, free: 14.09 MB / 0.6544 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.0006368/0.2713, allocations: 355.2 kB / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.2714, allocations: 12.03 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.2714, allocations: 4.938 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.2716, allocations: 180.2 kB / 0.8307 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.2717, allocations: 8.375 kB / 0.8307 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.2717, allocations: 4.312 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.2719, allocations: 53.98 kB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2719, allocations: 0 / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2719, allocations: 4 kB / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2719, allocations: 0 / 0.8308 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.272, allocations: 39.97 kB / 0.8308 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.2725, allocations: 276.8 kB / 0.8311 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.2727, allocations: 38.56 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.194e-05/0.2728, allocations: 20.94 kB / 0.8311 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.2728, allocations: 4 kB / 0.8312 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.2728, allocations: 38.56 kB / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.2728, allocations: 0 / 0.8312 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0003405/0.2732, allocations: 85.58 kB / 0.8313 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.2732, allocations: 59.39 kB / 0.8313 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.2734, allocations: 117.8 kB / 0.8314 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.2734, allocations: 25.7 kB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.2735, allocations: 100.1 kB / 0.8316 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.2735, allocations: 15.73 kB / 0.8316 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.2735, allocations: 13.72 kB / 0.8316 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2737, allocations: 318.8 kB / 0.8319 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.2738, allocations: 19.98 kB / 0.8319 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.309e-05/0.2738, allocations: 11.98 kB / 0.8319 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.274, allocations: 44.83 kB / 0.832 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.274, allocations: 4 kB / 0.832 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001607/0.2741, allocations: 73.59 kB / 0.832 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.2742, allocations: 4 kB / 0.832 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2742, allocations: 0 / 0.832 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2742, allocations: 4 kB / 0.832 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.2743, allocations: 7.984 kB / 0.8321 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2743, allocations: 3.938 kB / 0.8321 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.201e-05/0.2744, allocations: 12 kB / 0.8321 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.2744, allocations: 0 / 0.8321 GB, free: 11.95 MB / 0.6544 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 0.0001111/0.2745, allocations: 117.8 kB / 0.8322 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.2745, allocations: 11.84 kB / 0.8322 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.2746, allocations: 11.89 kB / 0.8322 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2746, allocations: 0 / 0.8322 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2746, allocations: 0 / 0.8322 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.2746, allocations: 0 / 0.8322 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.2748, allocations: 173.6 kB / 0.8324 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2748, allocations: 4 kB / 0.8324 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/0.2749, allocations: 7.984 kB / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2749, allocations: 4 kB / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.2749, allocations: 0 / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2749, allocations: 0 / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2749, allocations: 0 / 0.8324 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.2752, allocations: 175.3 kB / 0.8326 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.2752, allocations: 85.11 kB / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.431e-05/0.2752, allocations: 0 / 0.8326 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.2753, allocations: 7.984 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.2753, allocations: 0 / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.2754, allocations: 4 kB / 0.8326 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.72e-05/0.2754, allocations: 91.27 kB / 0.8327 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2754, allocations: 0 / 0.8327 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002148/0.2757, allocations: 8 kB / 0.8327 GB, free: 11.16 MB / 0.6544 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.000136/0.2758, allocations: 99.25 kB / 0.8328 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.276, allocations: 47.89 kB / 0.8329 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.276, allocations: 0 / 0.8329 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.2761, allocations: 20.45 kB / 0.8329 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.2763, allocations: 11.94 kB / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.2767, allocations: 172.2 kB / 0.8331 GB, free: 10.78 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.277, allocations: 0.6844 MB / 0.8337 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.633e-05/0.2771, allocations: 4.078 kB / 0.8337 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.2771, allocations: 11.44 kB / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.2771, allocations: 0 / 0.8338 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.002784/0.2799, allocations: 466.6 kB / 0.8342 GB, free: 9.613 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (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)