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.796/1.796, allocations: 288.4 MB / 303.7 MB, free: 8.254 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.0009638/0.0009638, allocations: 178.2 kB / 372.3 MB, free: 10.11 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.676/1.676, allocations: 205.4 MB / 0.631 GB, free: 9.859 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.0008917/0.0008919, allocations: 101 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004513, allocations: 15.44 kB / 0.8675 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 115.3 MB / 0.9801 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001882/0.2792, allocations: 1.203 MB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.2799, allocations: 432.8 kB / 0.9817 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.559e-05/0.2799, allocations: 4 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.28, allocations: 3.938 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.28, allocations: 19.84 kB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.2802, allocations: 8 kB / 0.9818 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.029e-05/0.2803, allocations: 47.78 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.2804, allocations: 8 kB / 0.9818 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.731e-05/0.2805, allocations: 23.92 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.193e-05/0.2806, allocations: 19.91 kB / 0.9819 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.2807, allocations: 4 kB / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/0.2807, allocations: 0 / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.2807, allocations: 15.92 kB / 0.9819 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.2807, allocations: 41.58 kB / 0.9819 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.584e-05/0.2808, allocations: 28.17 kB / 0.9819 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.2808, allocations: 3.984 kB / 0.982 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.983e-06/0.2809, allocations: 0 / 0.982 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2809, allocations: 0 / 0.982 GB, free: 25.44 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.0004345/0.2813, allocations: 359.3 kB / 0.9823 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.2814, allocations: 12.03 kB / 0.9823 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.2814, allocations: 4.938 kB / 0.9823 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2815, allocations: 180.2 kB / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.2815, allocations: 384 / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.2816, allocations: 384 / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.2817, allocations: 65.98 kB / 0.9825 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2818, allocations: 0 / 0.9825 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2818, allocations: 0 / 0.9825 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2818, allocations: 4 kB / 0.9825 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.2819, allocations: 47.91 kB / 0.9826 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.2823, allocations: 272.8 kB / 0.9829 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.2824, allocations: 50.55 kB / 0.9829 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.2825, allocations: 24.94 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2826, allocations: 0 / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.2826, allocations: 38.5 kB / 0.983 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 7.32e-07/0.2826, allocations: 4 kB / 0.983 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002931/0.2829, allocations: 93.66 kB / 0.9831 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.2829, allocations: 55.34 kB / 0.9831 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.43e-05/0.283, allocations: 125.8 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.283, allocations: 25.7 kB / 0.9833 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.2831, allocations: 92.05 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.2831, allocations: 7.906 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.2831, allocations: 0 / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.2832, allocations: 318.8 kB / 0.9837 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.2832, allocations: 23.98 kB / 0.9837 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.066e-05/0.2833, allocations: 23.98 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.2834, allocations: 57.03 kB / 0.9838 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2834, allocations: 0 / 0.9838 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001408/0.2836, allocations: 77.67 kB / 0.9838 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.2836, allocations: 8 kB / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2836, allocations: 0 / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2836, allocations: 0 / 0.9838 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.2837, allocations: 11.98 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2837, allocations: 0 / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.2838, allocations: 15.91 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.2838, allocations: 3.984 kB / 0.9839 GB, free: 23.26 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 5.968e-05/0.2839, allocations: 113.8 kB / 0.984 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.2839, allocations: 8 kB / 0.984 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.2839, allocations: 3.906 kB / 0.984 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2839, allocations: 7.938 kB / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.284, allocations: 0 / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.284, allocations: 0 / 0.984 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.2841, allocations: 181.5 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2841, allocations: 4 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.2842, allocations: 11.94 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2842, allocations: 0 / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.2842, allocations: 7.984 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.2842, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2842, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.2844, allocations: 179.4 kB / 0.9844 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.112e-05/0.2844, allocations: 89.03 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.2844, allocations: 0 / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.2845, allocations: 4 kB / 0.9844 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.2846, allocations: 7.984 kB / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2846, allocations: 0 / 0.9845 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.2846, allocations: 95.2 kB / 0.9845 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2846, allocations: 4 kB / 0.9846 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002054/0.2848, allocations: 15.91 kB / 0.9846 GB, free: 22.44 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.0001134/0.2849, allocations: 95.25 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.2851, allocations: 43.97 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2851, allocations: 4 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.554e-05/0.2852, allocations: 23.98 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.2854, allocations: 7.938 kB / 0.9847 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.2858, allocations: 192.1 kB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.2859, allocations: 0.6848 MB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.848e-05/0.286, allocations: 288 / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.286, allocations: 11.44 kB / 0.9856 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of SimCode: time 2e-07/0.286, allocations: 0 / 0.9856 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.002203/0.2882, allocations: 383 kB / 0.986 GB, free: 20.96 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)