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.001397/0.001397, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.00116/0.00116, allocations: 164.5 kB / 25.05 MB, free: 9.148 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.9542/0.9542, allocations: 177.1 MB / 205.5 MB, free: 5.457 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.911/1.911, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.352e-06/1.352e-06, allocations: 0 / 0.7761 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.858e-05, allocations: 9.547 kB / 0.7761 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002355/0.002383, allocations: 1.615 MB / 0.7777 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006757/0.003059, allocations: 495.3 kB / 0.7782 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.003123, allocations: 0 / 0.7782 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.00316, allocations: 3.938 kB / 0.7782 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.914e-05/0.003229, allocations: 15.02 kB / 0.7782 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.003425, allocations: 36.53 kB / 0.7782 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.003545, allocations: 59.5 kB / 0.7783 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.576e-05/0.003621, allocations: 8.797 kB / 0.7783 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.003746, allocations: 44.36 kB / 0.7783 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.506e-05/0.003801, allocations: 19.92 kB / 0.7784 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.003817, allocations: 5.531 kB / 0.7784 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.369e-05/0.00387, allocations: 4 kB / 0.7784 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.045e-05/0.003891, allocations: 11.92 kB / 0.7784 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.00391, allocations: 15.94 kB / 0.7784 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.004014, allocations: 44.81 kB / 0.7784 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.004016, allocations: 0 / 0.7784 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004017, allocations: 0 / 0.7784 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.004022, allocations: 0.5 kB / 0.7784 GB, free: 2.953 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.0003308/0.004352, allocations: 265.5 kB / 0.7787 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.004393, allocations: 11.5 kB / 0.7787 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.004538, allocations: 24.91 kB / 0.7787 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.004686, allocations: 128.7 kB / 0.7789 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.004696, allocations: 384 / 0.7789 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.004705, allocations: 7.125 kB / 0.7789 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001088/0.004813, allocations: 58.94 kB / 0.7789 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.004822, allocations: 4.125 kB / 0.7789 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.004829, allocations: 384 / 0.7789 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.004835, allocations: 3.938 kB / 0.7789 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.136e-05/0.004856, allocations: 11.98 kB / 0.7789 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.005087, allocations: 152.3 kB / 0.7791 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.752e-05/0.005145, allocations: 33.45 kB / 0.7791 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.005163, allocations: 12.8 kB / 0.7791 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.005176, allocations: 0 / 0.7791 GB, free: 2.184 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.005201, allocations: 30.56 kB / 0.7792 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.005203, allocations: 0 / 0.7792 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001261/0.005329, allocations: 49.7 kB / 0.7792 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.005366, allocations: 55.47 kB / 0.7793 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.901e-05/0.005445, allocations: 124.3 kB / 0.7794 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.005457, allocations: 25.7 kB / 0.7794 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.0055, allocations: 96.05 kB / 0.7795 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.005519, allocations: 11.91 kB / 0.7795 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.005544, allocations: 14.62 kB / 0.7795 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.973e-05/0.005624, allocations: 322.8 kB / 0.7798 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.005636, allocations: 3.938 kB / 0.7798 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-06/0.005646, allocations: 5.25 kB / 0.7798 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.949e-05/0.005675, allocations: 12.84 kB / 0.7798 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005677, allocations: 7.938 kB / 0.7799 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.338e-05/0.00573, allocations: 39.44 kB / 0.7799 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.005741, allocations: 4 kB / 0.7799 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.005746, allocations: 3.938 kB / 0.7799 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.005756, allocations: 4 kB / 0.7799 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.00582, allocations: 9.203 kB / 0.7799 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.005824, allocations: 3.938 kB / 0.7799 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.005844, allocations: 8 kB / 0.7799 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.00585, allocations: 0.6562 kB / 0.7799 GB, free: 1.301 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 5.172e-05/0.005902, allocations: 105.8 kB / 0.78 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.005919, allocations: 9.109 kB / 0.78 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.005939, allocations: 15.94 kB / 0.78 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.005941, allocations: 0 / 0.78 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.005942, allocations: 0.7188 kB / 0.78 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.005945, allocations: 0 / 0.78 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.376e-05/0.006028, allocations: 74.38 kB / 0.7801 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.006029, allocations: 0.7812 kB / 0.7801 GB, free: 1.078 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.006054, allocations: 11.98 kB / 0.7801 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.006055, allocations: 0.625 kB / 0.7801 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-06/0.00606, allocations: 4.906 kB / 0.7801 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.006061, allocations: 0 / 0.7801 GB, free: 1.062 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.006062, allocations: 3.938 kB / 0.7801 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.063e-05/0.006143, allocations: 140.4 kB / 0.7803 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.316e-06/0.006151, allocations: 8.328 kB / 0.7803 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.00616, allocations: 4.516 kB / 0.7803 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.235e-05/0.006192, allocations: 0 / 0.7803 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/0.00622, allocations: 9.719 kB / 0.7803 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.006223, allocations: 3.984 kB / 0.7803 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.877e-05/0.006242, allocations: 20.84 kB / 0.7803 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.006242, allocations: 0 / 0.7803 GB, free: 0.8594 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001254/0.006367, allocations: 8 kB / 0.7803 GB, free: 0.8516 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.431e-05/0.006452, allocations: 83.78 kB / 0.7804 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.842e-05/0.00652, allocations: 12.86 kB / 0.7804 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.006524, allocations: 4 kB / 0.7804 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.931e-05/0.006543, allocations: 16.78 kB / 0.7804 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.00666, allocations: 4 kB / 0.7804 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.007139, allocations: 183.2 kB / 0.7806 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.639e-05/0.007175, allocations: 55.36 kB / 0.7807 GB, free: 456 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.483e-05/0.0072, allocations: 3.938 kB / 0.7807 GB, free: 452 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.007247, allocations: 56.86 kB / 0.7807 GB, free: 396 kB / 0.7292 GB Notification: Performance of SimCode: time 1.162e-06/0.007248, allocations: 0 / 0.7807 GB, free: 396 kB / 0.7292 GB Notification: Performance of Templates: time 0.001959/0.009207, allocations: 455.5 kB / 0.7812 GB, free: 15.96 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: 4.892422900535166]