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.0009212/0.0009212, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009467/0.0009467, allocations: 165 kB / 24.17 MB, free: 332 kB / 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.9549/0.9549, allocations: 177.1 MB / 204.6 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 2.021/2.021, allocations: 389.6 MB / 0.6354 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 177] 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.734e-06/1.734e-06, allocations: 0 / 0.7752 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.516e-05, allocations: 6.25 kB / 0.7752 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002208/0.002223, allocations: 1.62 MB / 0.7768 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006568/0.00288, allocations: 496.7 kB / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.00293, allocations: 0 / 0.7773 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.002957, allocations: 4.594 kB / 0.7773 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.409e-05/0.003011, allocations: 9.938 kB / 0.7773 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.003194, allocations: 38.98 kB / 0.7773 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.0033, allocations: 53.81 kB / 0.7774 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.129e-05/0.003371, allocations: 11.97 kB / 0.7774 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.003491, allocations: 51.77 kB / 0.7774 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.003545, allocations: 11.98 kB / 0.7774 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.003559, allocations: 6.75 kB / 0.7774 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.857e-05/0.003607, allocations: 12 kB / 0.7774 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.003621, allocations: 7.922 kB / 0.7775 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.00364, allocations: 8 kB / 0.7775 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.679e-05/0.003737, allocations: 47.83 kB / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.00374, allocations: 3.984 kB / 0.7775 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.11e-07/0.00374, allocations: 0 / 0.7775 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.003744, allocations: 2.781 kB / 0.7775 GB, free: 2.973 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.0002892/0.004033, allocations: 256.7 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.004063, allocations: 13.34 kB / 0.7778 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.004185, allocations: 20.92 kB / 0.7778 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.004314, allocations: 137.6 kB / 0.7779 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.004321, allocations: 1 kB / 0.7779 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.742e-06/0.004328, allocations: 384 / 0.7779 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.001e-05/0.004418, allocations: 63.72 kB / 0.778 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.004424, allocations: 192 / 0.778 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.004431, allocations: 1 kB / 0.778 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.004437, allocations: 3.938 kB / 0.778 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.004456, allocations: 4.906 kB / 0.778 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.004648, allocations: 161.7 kB / 0.7781 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.164e-05/0.0047, allocations: 38.47 kB / 0.7782 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.437e-05/0.004714, allocations: 4.859 kB / 0.7782 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.004726, allocations: 4.688 kB / 0.7782 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.004745, allocations: 34.62 kB / 0.7782 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.004746, allocations: 0.5312 kB / 0.7782 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001069/0.004853, allocations: 49.66 kB / 0.7783 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.004878, allocations: 53.06 kB / 0.7783 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.111e-05/0.004939, allocations: 122.7 kB / 0.7784 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.004949, allocations: 25.7 kB / 0.7785 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.00498, allocations: 92.06 kB / 0.7786 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.004998, allocations: 12.77 kB / 0.7786 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.005023, allocations: 17.72 kB / 0.7786 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.19e-05/0.005095, allocations: 319.3 kB / 0.7789 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-06/0.005104, allocations: 4 kB / 0.7789 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-06/0.005113, allocations: 1.688 kB / 0.7789 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.005139, allocations: 16.84 kB / 0.7789 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005141, allocations: 0 / 0.7789 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.577e-05/0.005187, allocations: 45.62 kB / 0.779 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.005196, allocations: 4.875 kB / 0.779 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.005202, allocations: 3.938 kB / 0.779 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.005213, allocations: 1.188 kB / 0.779 GB, free: 1.344 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.088e-05/0.005264, allocations: 8 kB / 0.779 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.005268, allocations: 3.984 kB / 0.779 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.945e-05/0.005287, allocations: 5.75 kB / 0.779 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.005292, allocations: 0 / 0.779 GB, free: 1.328 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 4.732e-05/0.00534, allocations: 113.8 kB / 0.7791 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.005356, allocations: 4 kB / 0.7791 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.005375, allocations: 13.14 kB / 0.7791 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.005376, allocations: 0 / 0.7791 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.005377, allocations: 0 / 0.7791 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.00538, allocations: 0 / 0.7791 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.665e-05/0.005466, allocations: 82.53 kB / 0.7792 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.005467, allocations: 0 / 0.7792 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.005491, allocations: 5.125 kB / 0.7792 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.005492, allocations: 0 / 0.7792 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.005497, allocations: 4.578 kB / 0.7792 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.005498, allocations: 11.88 kB / 0.7792 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.0055, allocations: 4.438 kB / 0.7792 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.425e-05/0.005574, allocations: 136.1 kB / 0.7793 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-06/0.005581, allocations: 3.953 kB / 0.7793 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-06/0.00559, allocations: 2.031 kB / 0.7793 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.314e-05/0.005623, allocations: 4 kB / 0.7793 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.005656, allocations: 11.92 kB / 0.7794 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.00566, allocations: 4 kB / 0.7794 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.744e-05/0.005677, allocations: 20.38 kB / 0.7794 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005677, allocations: 0 / 0.7794 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001228/0.0058, allocations: 8 kB / 0.7794 GB, free: 0.875 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 7.044e-05/0.00587, allocations: 77.45 kB / 0.7795 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.488e-05/0.005935, allocations: 26.08 kB / 0.7795 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.005937, allocations: 0 / 0.7795 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.486e-05/0.005952, allocations: 8.859 kB / 0.7795 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001134/0.006065, allocations: 9.156 kB / 0.7795 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.00657, allocations: 177.6 kB / 0.7797 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.1e-05/0.006611, allocations: 60.81 kB / 0.7797 GB, free: 480 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.006636, allocations: 4 kB / 0.7797 GB, free: 476 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.006684, allocations: 51.38 kB / 0.7798 GB, free: 424 kB / 0.7292 GB Notification: Performance of SimCode: time 1.062e-06/0.006685, allocations: 0.875 kB / 0.7798 GB, free: 424 kB / 0.7292 GB Notification: Performance of Templates: time 0.001843/0.008529, allocations: 458.7 kB / 0.7802 GB, free: 15.99 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.933192064985633]