Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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.0009097/0.0009097, allocations: 84.8 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.0009132/0.0009132, allocations: 168.7 kB / 25.05 MB, free: 8.742 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.9734/0.9734, allocations: 177.1 MB / 205.5 MB, free: 4.406 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.968/1.968, allocations: 389.6 MB / 0.6363 GB, free: 13.33 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.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.7761 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.738e-05, allocations: 6.25 kB / 0.7761 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001695/0.001722, allocations: 0.9137 MB / 0.777 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003575/0.00208, allocations: 103.5 kB / 0.7771 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.866e-05/0.002158, allocations: 4 kB / 0.7771 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.002282, allocations: 19.8 kB / 0.7772 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.002401, allocations: 23.8 kB / 0.7772 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.4e-05/0.002465, allocations: 39.95 kB / 0.7772 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.002675, allocations: 263.4 kB / 0.7775 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.002879, allocations: 166.8 kB / 0.7776 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.00308, allocations: 219.5 kB / 0.7778 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.003174, allocations: 111.7 kB / 0.7779 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.003213, allocations: 28 kB / 0.778 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.932e-05/0.003242, allocations: 28 kB / 0.778 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.003299, allocations: 79.69 kB / 0.7781 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.003361, allocations: 83.77 kB / 0.7782 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.003575, allocations: 258.9 kB / 0.7784 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.003576, allocations: 4 kB / 0.7784 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003577, allocations: 0 / 0.7784 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.003581, allocations: 0 / 0.7784 GB, free: 11.53 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0003979/0.003979, allocations: 495.8 kB / 0.7789 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.004011, allocations: 8.031 kB / 0.7789 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.004068, allocations: 56.89 kB / 0.7789 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.004304, allocations: 229.1 kB / 0.7792 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.004358, allocations: 37.02 kB / 0.7792 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.004387, allocations: 32.38 kB / 0.7792 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.004649, allocations: 271.5 kB / 0.7795 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.00466, allocations: 192 / 0.7795 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.004676, allocations: 12.38 kB / 0.7795 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.004685, allocations: 8.375 kB / 0.7795 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.004841, allocations: 109.2 kB / 0.7796 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.005472, allocations: 0.6086 MB / 0.7802 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.769e-05/0.00555, allocations: 65.06 kB / 0.7803 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.00557, allocations: 17.89 kB / 0.7803 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.005588, allocations: 8 kB / 0.7803 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.005608, allocations: 30.56 kB / 0.7803 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 9.02e-07/0.005609, allocations: 0 / 0.7803 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0001469/0.005755, allocations: 69.88 kB / 0.7804 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.005865, allocations: 81.11 kB / 0.7805 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.006029, allocations: 280.6 kB / 0.7807 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.006041, allocations: 25.7 kB / 0.7808 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.006116, allocations: 196.9 kB / 0.7809 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.174e-05/0.006128, allocations: 19.83 kB / 0.781 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.006188, allocations: 73.56 kB / 0.781 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.006269, allocations: 338.7 kB / 0.7813 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.696e-05/0.006296, allocations: 19.92 kB / 0.7814 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.446e-05/0.006331, allocations: 33.69 kB / 0.7814 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.799e-05/0.006379, allocations: 45.67 kB / 0.7814 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.006381, allocations: 4 kB / 0.7814 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 9.627e-05/0.006478, allocations: 101.5 kB / 0.7815 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.006488, allocations: 7.938 kB / 0.7816 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.006494, allocations: 4 kB / 0.7816 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.006504, allocations: 0 / 0.7816 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.413e-05/0.006588, allocations: 27.98 kB / 0.7816 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-06/0.006591, allocations: 0 / 0.7816 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/0.006623, allocations: 23.89 kB / 0.7816 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.006633, allocations: 4 kB / 0.7816 GB, free: 8.031 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (couTruAllFal.booToInt[6].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[1].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.y,couTru.booToInt[6].y,couTru.booToInt[5].y,couTru.booToInt[4].y,couTru.booToInt[3].y,couTru.booToInt[2].y,couTru.booToInt[1].y,couTru.intEqu.y,couTru.mulMin.y,couTru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.498e-05/0.006718, allocations: 130.5 kB / 0.7817 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.00675, allocations: 15.98 kB / 0.7817 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.006854, allocations: 84.66 kB / 0.7818 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.006856, allocations: 0 / 0.7818 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.006858, allocations: 4.062 kB / 0.7818 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006861, allocations: 0 / 0.7818 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.00724, allocations: 448.5 kB / 0.7823 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.007242, allocations: 4 kB / 0.7823 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.007258, allocations: 4 kB / 0.7823 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.007261, allocations: 3.984 kB / 0.7823 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-06/0.007266, allocations: 4 kB / 0.7823 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.007267, allocations: 4 kB / 0.7823 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.007269, allocations: 0 / 0.7823 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.131e-05/0.00733, allocations: 99.69 kB / 0.7824 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.656e-05/0.007346, allocations: 19.86 kB / 0.7824 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.007357, allocations: 0 / 0.7824 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/0.007376, allocations: 4 kB / 0.7824 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.007393, allocations: 11.94 kB / 0.7824 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.007396, allocations: 3.984 kB / 0.7824 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.792e-05/0.007454, allocations: 82.77 kB / 0.7825 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007454, allocations: 0 / 0.7825 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001328/0.007587, allocations: 55.72 kB / 0.7825 GB, free: 6.984 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (couTru.y,couTru.intEqu.y,couTruAllFal.y,couTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.947e-05/0.007666, allocations: 84.42 kB / 0.7826 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.958e-05/0.007756, allocations: 53.08 kB / 0.7827 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.007761, allocations: 4 kB / 0.7827 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.007772, allocations: 8.859 kB / 0.7827 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.007881, allocations: 32.62 kB / 0.7827 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.008294, allocations: 451.5 kB / 0.7832 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.529e-05/0.008339, allocations: 91.89 kB / 0.7832 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.583e-05/0.008375, allocations: 17.89 kB / 0.7833 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.864e-05/0.008434, allocations: 75.36 kB / 0.7833 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.008434, allocations: 0 / 0.7833 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of Templates: time 0.003193/0.01163, allocations: 1.324 MB / 0.7846 GB, free: 4.801 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.759965760633349]