Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009484/0.0009484, allocations: 80.81 kB / 21.54 MB, free: 2.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009494/0.0009494, allocations: 162.9 kB / 24.96 MB, free: 8.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.93/0.93, allocations: 177.1 MB / 205.4 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.859/1.859, allocations: 389.6 MB / 0.6362 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0.5469 kB / 0.776 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.817e-05/1.961e-05, allocations: 6.25 kB / 0.776 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002753/0.002773, allocations: 1.615 MB / 0.7776 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008958/0.003668, allocations: 494 kB / 0.778 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.003732, allocations: 0 / 0.778 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.625e-05/0.003768, allocations: 3.938 kB / 0.778 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.639e-05/0.003855, allocations: 20.25 kB / 0.7781 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.004082, allocations: 27.95 kB / 0.7781 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.004223, allocations: 55.95 kB / 0.7781 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.004312, allocations: 15.95 kB / 0.7781 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001555/0.004467, allocations: 43.78 kB / 0.7782 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.004538, allocations: 19.92 kB / 0.7782 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.004555, allocations: 6.844 kB / 0.7782 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.203e-05/0.004617, allocations: 7.984 kB / 0.7782 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.004632, allocations: 7.984 kB / 0.7782 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.004656, allocations: 15.94 kB / 0.7782 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.004766, allocations: 39.83 kB / 0.7783 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004768, allocations: 0 / 0.7783 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.204e-06/0.00477, allocations: 3.984 kB / 0.7783 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.004773, allocations: 0 / 0.7783 GB, free: 2.988 MB / 0.7292 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.0003495/0.005123, allocations: 265.4 kB / 0.7785 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.005165, allocations: 10.03 kB / 0.7785 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.005338, allocations: 21.45 kB / 0.7786 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.005493, allocations: 134.2 kB / 0.7787 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.005503, allocations: 5.156 kB / 0.7787 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.00551, allocations: 384 / 0.7787 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.005624, allocations: 59.56 kB / 0.7788 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.005632, allocations: 192 / 0.7788 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.005641, allocations: 1.281 kB / 0.7788 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.00565, allocations: 7.938 kB / 0.7788 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.64e-05/0.005677, allocations: 5.344 kB / 0.7788 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002234/0.0059, allocations: 160.2 kB / 0.7789 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.763e-05/0.005958, allocations: 26.56 kB / 0.779 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.005977, allocations: 9.609 kB / 0.779 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.005992, allocations: 0.5312 kB / 0.779 GB, free: 2.223 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.006013, allocations: 30.56 kB / 0.779 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.006014, allocations: 1.594 kB / 0.779 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001436/0.006158, allocations: 57.7 kB / 0.779 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.006189, allocations: 51.41 kB / 0.7791 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/0.006269, allocations: 127.3 kB / 0.7792 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.00628, allocations: 26.64 kB / 0.7792 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.006319, allocations: 92.06 kB / 0.7793 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.006341, allocations: 16.39 kB / 0.7793 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.443e-05/0.006375, allocations: 13.72 kB / 0.7794 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.006473, allocations: 323.6 kB / 0.7797 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.006486, allocations: 0 / 0.7797 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.214e-05/0.006499, allocations: 5.688 kB / 0.7797 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.006535, allocations: 20.78 kB / 0.7797 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006537, allocations: 0 / 0.7797 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.069e-05/0.006608, allocations: 41.62 kB / 0.7797 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.006621, allocations: 4.875 kB / 0.7797 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.006628, allocations: 3.938 kB / 0.7797 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.006642, allocations: 4 kB / 0.7797 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/0.006718, allocations: 5.25 kB / 0.7797 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.006723, allocations: 4 kB / 0.7798 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.006755, allocations: 7.984 kB / 0.7798 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.006762, allocations: 1.75 kB / 0.7798 GB, free: 1.336 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/0.006823, allocations: 105.8 kB / 0.7799 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.006848, allocations: 4 kB / 0.7799 GB, free: 1.219 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.006877, allocations: 19.92 kB / 0.7799 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.006879, allocations: 1.219 kB / 0.7799 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.006881, allocations: 0 / 0.7799 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.006883, allocations: 0 / 0.7799 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.007012, allocations: 74.53 kB / 0.78 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007014, allocations: 0 / 0.78 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.555e-05/0.007059, allocations: 9.125 kB / 0.78 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.007063, allocations: 0 / 0.78 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.007072, allocations: 7.984 kB / 0.78 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.007073, allocations: 4.594 kB / 0.78 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.007077, allocations: 4.438 kB / 0.78 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.007184, allocations: 131.5 kB / 0.7801 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.099e-05/0.007195, allocations: 9.672 kB / 0.7801 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.086e-05/0.007205, allocations: 0 / 0.7801 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.449e-05/0.00727, allocations: 4 kB / 0.7801 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.007304, allocations: 7.922 kB / 0.7801 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.007308, allocations: 1.031 kB / 0.7801 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.921e-05/0.007337, allocations: 27.2 kB / 0.7802 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.007338, allocations: 4 kB / 0.7802 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001863/0.007524, allocations: 5.312 kB / 0.7802 GB, free: 0.8906 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.312e-05/0.007607, allocations: 76.42 kB / 0.7802 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.786e-05/0.007685, allocations: 21.88 kB / 0.7803 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.007688, allocations: 4 kB / 0.7803 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.242e-05/0.00771, allocations: 9.328 kB / 0.7803 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.00786, allocations: 13.44 kB / 0.7803 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005842/0.008445, allocations: 181 kB / 0.7805 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.023e-05/0.008485, allocations: 60.22 kB / 0.7805 GB, free: 492 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.008518, allocations: 4.859 kB / 0.7805 GB, free: 488 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.634e-05/0.008565, allocations: 51.38 kB / 0.7806 GB, free: 436 kB / 0.7292 GB Notification: Performance of SimCode: time 7.01e-07/0.008565, allocations: 0.9375 kB / 0.7806 GB, free: 436 kB / 0.7292 GB Notification: Performance of Templates: time 0.002286/0.01085, allocations: 455.7 kB / 0.781 GB, free: 0 / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.830749317072332]