Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.691/1.691, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009978/0.000998, allocations: 190.2 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009409/0.0009408, allocations: 92.3 kB / 0.7808 GB, free: 43.83 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.000434, allocations: 13.12 kB / 0.9088 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8319/0.8323, allocations: 120.3 MB / 1.026 GB, free: 57.01 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2255/1.058, allocations: 141.8 MB / 1.165 GB, free: 408 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.058, allocations: 81.39 kB / 1.165 GB, free: 328 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003432/1.062, allocations: 1.205 MB / 1.166 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.657e-06/1.062, allocations: 0 / 1.166 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.062, allocations: 0 / 1.166 GB, free: 15.14 MB / 0.7448 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.0004042/1.062, allocations: 360.8 kB / 1.166 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/1.062, allocations: 12.03 kB / 1.166 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/1.062, allocations: 7 kB / 1.166 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/1.062, allocations: 168.3 kB / 1.167 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/1.062, allocations: 384 / 1.167 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/1.062, allocations: 4.375 kB / 1.167 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/1.063, allocations: 66.22 kB / 1.167 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/1.063, allocations: 192 / 1.167 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/1.063, allocations: 3.938 kB / 1.167 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.063, allocations: 5.156 kB / 1.167 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/1.063, allocations: 47.91 kB / 1.167 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/1.063, allocations: 269 kB / 1.167 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/1.063, allocations: 46.5 kB / 1.167 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/1.063, allocations: 32.94 kB / 1.167 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/1.063, allocations: 0 / 1.167 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/1.064, allocations: 30.56 kB / 1.167 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/1.064, allocations: 3.938 kB / 1.167 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0003218/1.064, allocations: 106.5 kB / 1.167 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/1.064, allocations: 51.41 kB / 1.167 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/1.064, allocations: 119.9 kB / 1.167 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/1.064, allocations: 29.7 kB / 1.167 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/1.064, allocations: 88.08 kB / 1.167 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/1.064, allocations: 3.906 kB / 1.167 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/1.064, allocations: 4 kB / 1.167 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.064, allocations: 322.8 kB / 1.168 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.324e-05/1.064, allocations: 19.98 kB / 1.168 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-05/1.064, allocations: 19.98 kB / 1.168 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/1.065, allocations: 60.7 kB / 1.168 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.065, allocations: 7.875 kB / 1.168 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001609/1.065, allocations: 77.58 kB / 1.168 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.065, allocations: 4 kB / 1.168 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/1.065, allocations: 0 / 1.168 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/1.065, allocations: 4 kB / 1.168 GB, free: 13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.492e-05/1.065, allocations: 15.98 kB / 1.168 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/1.065, allocations: 3.984 kB / 1.168 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/1.065, allocations: 7.984 kB / 1.168 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/1.065, allocations: 0 / 1.168 GB, free: 12.97 MB / 0.7448 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 8.62e-05/1.065, allocations: 117.8 kB / 1.168 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.518e-05/1.065, allocations: 7.906 kB / 1.168 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/1.065, allocations: 7.906 kB / 1.168 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/1.065, allocations: 4 kB / 1.168 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.065, allocations: 7.938 kB / 1.168 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/1.065, allocations: 3.938 kB / 1.168 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/1.065, allocations: 177.6 kB / 1.168 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.065, allocations: 0 / 1.168 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.587e-05/1.065, allocations: 11.98 kB / 1.168 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/1.065, allocations: 0 / 1.168 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/1.065, allocations: 0 / 1.168 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/1.065, allocations: 0 / 1.168 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.065, allocations: 0 / 1.168 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/1.066, allocations: 183.4 kB / 1.168 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/1.066, allocations: 81.11 kB / 1.169 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/1.066, allocations: 0 / 1.169 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/1.066, allocations: 12 kB / 1.169 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/1.066, allocations: 3.984 kB / 1.169 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/1.066, allocations: 0 / 1.169 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.264e-05/1.066, allocations: 95.27 kB / 1.169 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.066, allocations: 3.938 kB / 1.169 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001986/1.066, allocations: 4 kB / 1.169 GB, free: 12.17 MB / 0.7448 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.0001161/1.066, allocations: 99.78 kB / 1.169 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001736/1.066, allocations: 47.97 kB / 1.169 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/1.066, allocations: 0 / 1.169 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.799e-05/1.066, allocations: 23.98 kB / 1.169 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/1.067, allocations: 9.25 kB / 1.169 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/1.067, allocations: 190.8 kB / 1.169 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/1.067, allocations: 0.6887 MB / 1.17 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.628e-05/1.067, allocations: 4 kB / 1.17 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/1.067, allocations: 11.44 kB / 1.17 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/1.067, allocations: 0 / 1.17 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.002232/1.07, allocations: 389.8 kB / 1.17 GB, free: 10.69 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1)