Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.8/1.8, allocations: 288.4 MB / 303.4 MB, free: 8.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009635/0.0009636, allocations: 184.5 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.4 MB / 0.6307 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008906/0.0008907, allocations: 86.42 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003961, allocations: 15.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2798, allocations: 115.3 MB / 0.9796 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001648/0.2815, allocations: 1.211 MB / 0.9808 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006105/0.2821, allocations: 428.9 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.2822, allocations: 3.938 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.2822, allocations: 3.938 kB / 0.9812 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.561e-05/0.2823, allocations: 11.94 kB / 0.9812 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.2825, allocations: 15.97 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.609e-05/0.2826, allocations: 51.72 kB / 0.9813 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.2827, allocations: 8 kB / 0.9813 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.237e-05/0.2828, allocations: 15.92 kB / 0.9813 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.04e-05/0.2829, allocations: 19.92 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.2829, allocations: 0 / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.2829, allocations: 4 kB / 0.9813 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.2829, allocations: 11.97 kB / 0.9813 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.283, allocations: 37.64 kB / 0.9814 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.379e-05/0.283, allocations: 32.17 kB / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.2831, allocations: 0 / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.063e-06/0.2831, allocations: 0 / 0.9814 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2831, allocations: 0 / 0.9814 GB, free: 25.8 MB / 0.6198 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.0005118/0.2836, allocations: 355.2 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.2837, allocations: 16.02 kB / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.2837, allocations: 4 kB / 0.9817 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2838, allocations: 178.9 kB / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.2839, allocations: 0 / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.2839, allocations: 0 / 0.9819 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.2841, allocations: 65.61 kB / 0.982 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2841, allocations: 0 / 0.982 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.2841, allocations: 3.938 kB / 0.982 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.2841, allocations: 0 / 0.982 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.2843, allocations: 43.97 kB / 0.982 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.2847, allocations: 268.9 kB / 0.9823 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.2849, allocations: 54.5 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.815e-05/0.2849, allocations: 24.94 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.285, allocations: 4 kB / 0.9824 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.285, allocations: 30.56 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.364e-06/0.285, allocations: 4 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003281/0.2853, allocations: 109.5 kB / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.2854, allocations: 51.41 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.2855, allocations: 117.8 kB / 0.9827 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.2855, allocations: 33.7 kB / 0.9827 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.015e-05/0.2855, allocations: 88.14 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.2856, allocations: 11.88 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.2856, allocations: 0 / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.2856, allocations: 322.8 kB / 0.9831 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.703e-05/0.2857, allocations: 19.98 kB / 0.9831 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.674e-05/0.2858, allocations: 19.98 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.286e-05/0.2859, allocations: 23.98 kB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2859, allocations: 0 / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001668/0.286, allocations: 81.58 kB / 0.9832 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.2861, allocations: 7.984 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2861, allocations: 3.984 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.2861, allocations: 4 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.2862, allocations: 8 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2862, allocations: 0 / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.469e-05/0.2863, allocations: 11.94 kB / 0.9833 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.2863, allocations: 0 / 0.9833 GB, free: 23.66 MB / 0.6198 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.964e-05/0.2864, allocations: 121.8 kB / 0.9834 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.2864, allocations: 7.906 kB / 0.9834 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.2865, allocations: 11.89 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2865, allocations: 0 / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2865, allocations: 0 / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2865, allocations: 0 / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.2866, allocations: 177.5 kB / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2866, allocations: 0 / 0.9836 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-05/0.2867, allocations: 11.98 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2867, allocations: 4 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.2867, allocations: 4 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2867, allocations: 0 / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2868, allocations: 0 / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.287, allocations: 187.3 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.287, allocations: 81.02 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.287, allocations: 4 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.985e-05/0.2871, allocations: 11.98 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.2872, allocations: 3.938 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.2872, allocations: 0 / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.2872, allocations: 95.27 kB / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2872, allocations: 0 / 0.984 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001911/0.2874, allocations: 4 kB / 0.984 GB, free: 22.85 MB / 0.6198 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.0001076/0.2875, allocations: 103.2 kB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.2877, allocations: 43.97 kB / 0.9841 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.2877, allocations: 4 kB / 0.9841 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.858e-05/0.2878, allocations: 31.97 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.288, allocations: 10.78 kB / 0.9841 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.2884, allocations: 183 kB / 0.9843 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/0.2885, allocations: 0.6848 MB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.596e-05/0.2886, allocations: 7.984 kB / 0.985 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.2886, allocations: 11.42 kB / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2886, allocations: 0 / 0.985 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of Templates: time 0.002173/0.2908, allocations: 381.7 kB / 0.9854 GB, free: 21.36 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)