Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.568/2.568, allocations: 287.5 MB / 303.2 MB, free: 8.273 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.001426/0.001425, allocations: 195 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.0009699/0.0009694, allocations: 94.88 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00077/0.0007699, allocations: 16.27 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2749, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.303, allocations: 138.5 MB / 1.115 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/1.303, allocations: 89.16 kB / 1.115 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004988/1.308, allocations: 1.149 MB / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/1.308, allocations: 4 kB / 1.116 GB, free: 31.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.596e-06/1.308, allocations: 3.875 kB / 1.116 GB, free: 31.39 MB / 0.698 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.0005053/1.309, allocations: 351.8 kB / 1.116 GB, free: 31.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/1.309, allocations: 11.38 kB / 1.116 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/1.309, allocations: 8.719 kB / 1.116 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.309, allocations: 176.9 kB / 1.116 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/1.309, allocations: 5.156 kB / 1.116 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/1.309, allocations: 4.375 kB / 1.116 GB, free: 30.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/1.309, allocations: 59.64 kB / 1.116 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.309, allocations: 192 / 1.116 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/1.309, allocations: 3.938 kB / 1.116 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.309, allocations: 0 / 1.116 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/1.31, allocations: 50.52 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/1.31, allocations: 264.8 kB / 1.117 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/1.31, allocations: 49.47 kB / 1.117 GB, free: 30.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/1.31, allocations: 27.27 kB / 1.117 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/1.31, allocations: 0 / 1.117 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/1.31, allocations: 43.05 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.552e-06/1.31, allocations: 0 / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0004637/1.311, allocations: 106.5 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/1.311, allocations: 52.62 kB / 1.117 GB, free: 30.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/1.311, allocations: 116.6 kB / 1.117 GB, free: 30.22 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/1.311, allocations: 25.7 kB / 1.117 GB, free: 30.19 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/1.311, allocations: 90.89 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/1.311, allocations: 19.06 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-06/1.311, allocations: 7.812 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.311, allocations: 317.8 kB / 1.117 GB, free: 29.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/1.312, allocations: 14.31 kB / 1.117 GB, free: 29.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/1.312, allocations: 22.55 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/1.312, allocations: 55.95 kB / 1.118 GB, free: 29.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.312, allocations: 3.938 kB / 1.118 GB, free: 29.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002813/1.312, allocations: 78.52 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.312, allocations: 3.781 kB / 1.118 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.312, allocations: 4 kB / 1.118 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/1.312, allocations: 0 / 1.118 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/1.312, allocations: 17.27 kB / 1.118 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/1.312, allocations: 3.141 kB / 1.118 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.394e-05/1.313, allocations: 3.969 kB / 1.118 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/1.313, allocations: 0 / 1.118 GB, free: 29.72 MB / 0.698 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 0.0001036/1.313, allocations: 117 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/1.313, allocations: 16.61 kB / 1.118 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/1.313, allocations: 11.16 kB / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.313, allocations: 0 / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.313, allocations: 0 / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.313, allocations: 0 / 1.118 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/1.313, allocations: 174.6 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.313, allocations: 0 / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/1.313, allocations: 10.58 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/1.313, allocations: 0 / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/1.313, allocations: 4 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/1.313, allocations: 0 / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.313, allocations: 3.969 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/1.314, allocations: 176.4 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/1.314, allocations: 81.02 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/1.314, allocations: 4 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/1.314, allocations: 10.27 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/1.314, allocations: 3.906 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/1.314, allocations: 4.062 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.303e-05/1.314, allocations: 98.31 kB / 1.118 GB, free: 29.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.314, allocations: 0 / 1.118 GB, free: 29.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002873/1.314, allocations: 7.688 kB / 1.118 GB, free: 29.07 MB / 0.698 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.0001215/1.314, allocations: 98.75 kB / 1.118 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002797/1.315, allocations: 45.91 kB / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.315, allocations: 0 / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/1.315, allocations: 32.73 kB / 1.119 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/1.315, allocations: 14.11 kB / 1.119 GB, free: 28.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004458/1.316, allocations: 189.4 kB / 1.119 GB, free: 28.83 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/1.316, allocations: 0.6822 MB / 1.119 GB, free: 28.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.734e-05/1.316, allocations: 8.359 kB / 1.119 GB, free: 28.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/1.316, allocations: 11.31 kB / 1.119 GB, free: 28.12 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/1.316, allocations: 0 / 1.119 GB, free: 28.12 MB / 0.698 GB Notification: Performance of Templates: time 0.002792/1.319, allocations: 392.3 kB / 1.12 GB, free: 28.07 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)