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.001215/0.001215, allocations: 80.75 kB / 20.82 MB, free: 3.629 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.001483/0.001483, allocations: 165 kB / 24.25 MB, free: 208 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.9973/0.9973, allocations: 177.2 MB / 204.7 MB, free: 5.449 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.977/1.977, allocations: 389.6 MB / 0.6355 GB, free: 12.28 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.373e-06/1.373e-06, allocations: 1.422 kB / 0.7754 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.181e-05, allocations: 5.125 kB / 0.7754 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002154/0.002176, allocations: 1.618 MB / 0.777 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006664/0.002842, allocations: 493.4 kB / 0.7774 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.619e-05/0.002909, allocations: 1.281 kB / 0.7774 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.394e-05/0.002943, allocations: 5.25 kB / 0.7774 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/0.003001, allocations: 13.17 kB / 0.7774 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.003213, allocations: 36.55 kB / 0.7775 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.003326, allocations: 64.17 kB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.621e-05/0.003403, allocations: 11.98 kB / 0.7776 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.003535, allocations: 35.89 kB / 0.7776 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.003592, allocations: 23.91 kB / 0.7776 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.003607, allocations: 4.812 kB / 0.7776 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.003661, allocations: 8 kB / 0.7776 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.003673, allocations: 8.688 kB / 0.7776 GB, free: 2.98 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.003692, allocations: 19.97 kB / 0.7777 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.434e-05/0.003786, allocations: 38.69 kB / 0.7777 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003788, allocations: 0 / 0.7777 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003789, allocations: 0 / 0.7777 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003793, allocations: 0 / 0.7777 GB, free: 2.926 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.0002991/0.004092, allocations: 264.7 kB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.004131, allocations: 13.34 kB / 0.778 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.004254, allocations: 20.91 kB / 0.778 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.004651, allocations: 128.4 kB / 0.7781 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.00466, allocations: 384 / 0.7781 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.004671, allocations: 4.375 kB / 0.7781 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.55e-05/0.004767, allocations: 58.94 kB / 0.7782 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004774, allocations: 192 / 0.7782 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.183e-06/0.004781, allocations: 384 / 0.7782 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.004786, allocations: 6.062 kB / 0.7782 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.006e-05/0.004806, allocations: 7.984 kB / 0.7782 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.005, allocations: 164.2 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.042e-05/0.005051, allocations: 22.58 kB / 0.7783 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.005067, allocations: 9.609 kB / 0.7784 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.005079, allocations: 4 kB / 0.7784 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.005103, allocations: 36.39 kB / 0.7784 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.005104, allocations: 0 / 0.7784 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.000107/0.005211, allocations: 53.5 kB / 0.7784 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.005238, allocations: 51.41 kB / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.048e-05/0.005298, allocations: 122.7 kB / 0.7786 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.005306, allocations: 26.3 kB / 0.7786 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.005336, allocations: 97.06 kB / 0.7787 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.005354, allocations: 7.906 kB / 0.7787 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.005377, allocations: 17.7 kB / 0.7788 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.8e-05/0.005445, allocations: 319.4 kB / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-06/0.005455, allocations: 1.125 kB / 0.7791 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-06/0.005464, allocations: 4 kB / 0.7791 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.874e-05/0.005493, allocations: 20.77 kB / 0.7791 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.005494, allocations: 0.8125 kB / 0.7791 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.729e-05/0.005541, allocations: 45.69 kB / 0.7791 GB, free: 1.305 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.005553, allocations: 4 kB / 0.7791 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.005559, allocations: 4.469 kB / 0.7791 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.005566, allocations: 0.9375 kB / 0.7791 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.005625, allocations: 11.98 kB / 0.7791 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.005627, allocations: 0.5938 kB / 0.7791 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/0.005646, allocations: 4 kB / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.005652, allocations: 5.109 kB / 0.7792 GB, free: 1.277 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.971e-05/0.005702, allocations: 110.4 kB / 0.7793 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.005717, allocations: 5.438 kB / 0.7793 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.005736, allocations: 11.94 kB / 0.7793 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.005739, allocations: 3.984 kB / 0.7793 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.00574, allocations: 0 / 0.7793 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.005742, allocations: 4.656 kB / 0.7793 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.422e-05/0.005827, allocations: 77.81 kB / 0.7794 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.005828, allocations: 0.625 kB / 0.7794 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.00585, allocations: 7.984 kB / 0.7794 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.005852, allocations: 1.156 kB / 0.7794 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.005857, allocations: 4 kB / 0.7794 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.005858, allocations: 0 / 0.7794 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.005859, allocations: 4.812 kB / 0.7794 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.254e-05/0.005932, allocations: 131.5 kB / 0.7795 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-06/0.00594, allocations: 8.562 kB / 0.7795 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.005951, allocations: 8 kB / 0.7795 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.025e-05/0.005981, allocations: 4.875 kB / 0.7795 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.006009, allocations: 3.938 kB / 0.7795 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.006013, allocations: 8.766 kB / 0.7795 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.477e-05/0.006028, allocations: 15.36 kB / 0.7796 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006028, allocations: 0.9062 kB / 0.7796 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001143/0.006142, allocations: 11.94 kB / 0.7796 GB, free: 0.8281 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.265e-05/0.006215, allocations: 81.44 kB / 0.7796 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.203e-05/0.006277, allocations: 20.84 kB / 0.7797 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.006279, allocations: 0.75 kB / 0.7797 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.695e-05/0.006296, allocations: 17.75 kB / 0.7797 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001051/0.006401, allocations: 0 / 0.7797 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.006842, allocations: 183.1 kB / 0.7799 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.071e-05/0.006873, allocations: 51.36 kB / 0.7799 GB, free: 436 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.272e-05/0.006896, allocations: 9.016 kB / 0.7799 GB, free: 428 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.006934, allocations: 51.38 kB / 0.78 GB, free: 376 kB / 0.7292 GB Notification: Performance of SimCode: time 6.81e-07/0.006935, allocations: 0 / 0.78 GB, free: 376 kB / 0.7292 GB Notification: Performance of Templates: time 0.001894/0.008829, allocations: 460.6 kB / 0.7804 GB, free: 15.94 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 -lv LOG_STATS > Buildings_13_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.125283220782876]