Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001602, allocations: 193 kB / 16.13 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 66.12 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3413, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002562/0.344, allocations: 0.9316 MB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003441/0.3443, allocations: 87.64 kB / 1.069 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.3445, allocations: 4 kB / 1.069 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.3446, allocations: 15.86 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.3448, allocations: 15.97 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.551e-05/0.3449, allocations: 31.98 kB / 1.069 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000255/0.3452, allocations: 231.5 kB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003902/0.3456, allocations: 286.3 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.3457, allocations: 107.5 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.3458, allocations: 127.3 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.324e-05/0.3459, allocations: 20 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.425e-05/0.3459, allocations: 16 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.418e-05/0.346, allocations: 71.7 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.3461, allocations: 135.1 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.3465, allocations: 422.6 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3465, allocations: 0 / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3465, allocations: 0 / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.3466, allocations: 0 / 1.07 GB, free: 8.449 MB / 0.8262 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.0008124/0.3474, allocations: 0.5943 MB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3474, allocations: 16.03 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.216e-05/0.3475, allocations: 36.47 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.3479, allocations: 336 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/0.348, allocations: 41.02 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.348, allocations: 28.38 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006146/0.3487, allocations: 400 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.3487, allocations: 192 / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.3487, allocations: 23.88 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.3487, allocations: 8 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000454/0.3492, allocations: 303.8 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.3506, allocations: 1.057 MB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.3507, allocations: 89.22 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.506e-05/0.3508, allocations: 49.72 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.3509, allocations: 0 / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.3509, allocations: 38.56 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.3509, allocations: 0 / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003598/0.3513, allocations: 169.1 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.3513, allocations: 85.05 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006216/0.352, allocations: 0.5091 MB / 1.074 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.352, allocations: 25.7 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.3522, allocations: 207.5 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.3522, allocations: 15.75 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.67e-05/0.3523, allocations: 57.69 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.3524, allocations: 350.8 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.3525, allocations: 63.95 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.3527, allocations: 86.98 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.3528, allocations: 117.6 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3528, allocations: 0 / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003045/0.3531, allocations: 221.1 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3532, allocations: 4 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3532, allocations: 4 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3532, allocations: 0 / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3534, allocations: 27.94 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3534, allocations: 7.984 kB / 1.075 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.495e-05/0.3535, allocations: 35.53 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.3535, allocations: 4 kB / 1.075 GB, free: 3.234 MB / 0.8262 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 (idxFirTru.booToInt[1].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[6].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.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 0.0002088/0.3537, allocations: 204.3 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.3538, allocations: 35.61 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.354, allocations: 114 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.354, allocations: 7.922 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3541, allocations: 0 / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3541, allocations: 7.938 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.3546, allocations: 0.6526 MB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3546, allocations: 0 / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.3546, allocations: 7.984 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.3547, allocations: 4 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3547, allocations: 0 / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3547, allocations: 0 / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3547, allocations: 4 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.3548, allocations: 139.2 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-05/0.3549, allocations: 116.7 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.355, allocations: 4 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.132e-05/0.355, allocations: 0 / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.355, allocations: 4 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3551, allocations: 4 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003842/0.3554, allocations: 391 kB / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3555, allocations: 0 / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002508/0.3557, allocations: 47.84 kB / 1.076 GB, free: 1.375 MB / 0.8262 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 (idxFirTru.y,idxFirTru.intEqu.y,idxFirTruAllFal.y,idxFirTruAllFal.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 0.0001085/0.3558, allocations: 99.23 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.356, allocations: 104.2 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3561, allocations: 0 / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.845e-05/0.3561, allocations: 27.92 kB / 1.077 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.3564, allocations: 34.19 kB / 1.077 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007713/0.3572, allocations: 0.5824 MB / 1.077 GB, free: 496 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.3575, allocations: 0.7911 MB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001144/0.3576, allocations: 54.94 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.3577, allocations: 23.44 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3577, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.005344/0.3631, allocations: 1.904 MB / 1.08 GB, free: 13.7 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile (rm -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1)