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.73/1.73, allocations: 288.3 MB / 303.2 MB, free: 8.121 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.001084/0.001084, allocations: 190 kB / 371.9 MB, free: 10.26 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.702/1.702, allocations: 205.4 MB / 0.6306 GB, free: 9.988 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.0009551/0.0009551, allocations: 101.1 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 12.34 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2541, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002283/0.2564, allocations: 1.207 MB / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008202/0.2573, allocations: 433 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.2574, allocations: 0 / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.2574, allocations: 3.938 kB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.556e-05/0.2575, allocations: 19.95 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.2577, allocations: 11.98 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.93e-05/0.2578, allocations: 35.89 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.2579, allocations: 4 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.258, allocations: 23.91 kB / 0.9811 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.2581, allocations: 19.92 kB / 0.9811 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.2582, allocations: 4 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.2582, allocations: 4 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.2582, allocations: 3.984 kB / 0.9811 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.2582, allocations: 37.64 kB / 0.9812 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.462e-05/0.2583, allocations: 32.16 kB / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.2584, allocations: 0 / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2584, allocations: 0 / 0.9812 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.2584, allocations: 0 / 0.9812 GB, free: 25.83 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.0005319/0.2589, allocations: 359.2 kB / 0.9816 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.259, allocations: 12.02 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.259, allocations: 8 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.2592, allocations: 182.8 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.2592, allocations: 0 / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.2592, allocations: 0 / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.2594, allocations: 57.67 kB / 0.9818 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2595, allocations: 0 / 0.9818 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.2595, allocations: 11.94 kB / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2595, allocations: 0 / 0.9818 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.2597, allocations: 39.97 kB / 0.9819 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.2601, allocations: 276.9 kB / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.2603, allocations: 46.56 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.2603, allocations: 0 / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.2604, allocations: 34.5 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.2604, allocations: 0 / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004407/0.2608, allocations: 109.6 kB / 0.9823 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.2609, allocations: 51.41 kB / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.151e-05/0.261, allocations: 117.7 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.261, allocations: 29.7 kB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.261, allocations: 92.14 kB / 0.9826 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.2611, allocations: 11.89 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.2611, allocations: 0 / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.2612, allocations: 314.8 kB / 0.9829 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.2613, allocations: 19.98 kB / 0.9829 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.648e-05/0.2614, allocations: 19.98 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.2615, allocations: 27.92 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2615, allocations: 0 / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002439/0.2618, allocations: 81.56 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2618, allocations: 8 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2618, allocations: 4 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2618, allocations: 0 / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.262, allocations: 8 kB / 0.983 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.262, allocations: 3.984 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.677e-05/0.2621, allocations: 11.94 kB / 0.9831 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2621, allocations: 3.953 kB / 0.9831 GB, free: 23.71 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 7.161e-05/0.2622, allocations: 109.8 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.293e-05/0.2622, allocations: 11.91 kB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.2623, allocations: 11.89 kB / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2623, allocations: 4 kB / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2623, allocations: 0 / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2623, allocations: 336 / 0.9832 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.2625, allocations: 173.5 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2626, allocations: 3.938 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.664e-05/0.2627, allocations: 11.98 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2627, allocations: 3.984 kB / 0.9834 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.2627, allocations: 4 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2627, allocations: 4 kB / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2627, allocations: 0 / 0.9834 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.263, allocations: 171.5 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.826e-05/0.263, allocations: 85.02 kB / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.2631, allocations: 4 kB / 0.9836 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.2632, allocations: 11.98 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.2633, allocations: 4 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.2633, allocations: 0 / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.493e-05/0.2633, allocations: 91.27 kB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2633, allocations: 0 / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003959/0.2637, allocations: 8 kB / 0.9837 GB, free: 22.92 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.0001074/0.2639, allocations: 103.2 kB / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.2641, allocations: 51.95 kB / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2641, allocations: 3.938 kB / 0.9839 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2643, allocations: 23.98 kB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.2645, allocations: 8.719 kB / 0.9839 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004251/0.2649, allocations: 190.4 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.2651, allocations: 0.6848 MB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.864e-05/0.2651, allocations: 4 kB / 0.9848 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.2652, allocations: 11.44 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of SimCode: time 3.11e-07/0.2652, allocations: 0 / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.002905/0.2681, allocations: 385.9 kB / 0.9852 GB, free: 21.42 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)