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.001166/0.001166, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 194.4 kB / 16.53 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.6 MB / 0.7451 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 61.91 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3673, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002359/0.3697, allocations: 0.8707 MB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002762/0.37, allocations: 91.69 kB / 1.069 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.3701, allocations: 7.938 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.3703, allocations: 19.8 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.3704, allocations: 11.88 kB / 1.069 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.107e-05/0.3705, allocations: 51.95 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.3708, allocations: 243.5 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004315/0.3712, allocations: 298.3 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.3713, allocations: 127.5 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.3715, allocations: 143.3 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.33e-05/0.3716, allocations: 32 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.521e-05/0.3716, allocations: 35.94 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.3717, allocations: 91.7 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001467/0.3719, allocations: 151.1 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.3723, allocations: 438.6 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3723, allocations: 4 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.316e-06/0.3723, allocations: 0 / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.3723, allocations: 8 kB / 1.071 GB, free: 7.809 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.0007816/0.3731, allocations: 0.5889 MB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3732, allocations: 12.03 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.336e-05/0.3733, allocations: 40.47 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.3737, allocations: 332.1 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.3738, allocations: 37.02 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.788e-05/0.3738, allocations: 32.38 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006372/0.3745, allocations: 404 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.3745, allocations: 192 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.3746, allocations: 15.94 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.3746, allocations: 8 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004827/0.3751, allocations: 303.8 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001548/0.3766, allocations: 1.053 MB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.3768, allocations: 93.16 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.3769, allocations: 45.8 kB / 1.074 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.3769, allocations: 12 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.3769, allocations: 34.55 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3769, allocations: 0 / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003459/0.3773, allocations: 161.2 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.3774, allocations: 85.05 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005764/0.378, allocations: 0.5091 MB / 1.074 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.378, allocations: 29.7 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.3782, allocations: 203.5 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.3782, allocations: 19.75 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.3783, allocations: 53.7 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3785, allocations: 342.8 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3786, allocations: 67.95 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.3787, allocations: 97.5 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.3789, allocations: 113.6 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.3789, allocations: 4 kB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002953/0.3792, allocations: 209.1 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3792, allocations: 5.875 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3792, allocations: 0 / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3793, allocations: 4 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.3794, allocations: 27.92 kB / 1.075 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.3794, allocations: 7.938 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.097e-05/0.3795, allocations: 35.47 kB / 1.076 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.3795, allocations: 12 kB / 1.076 GB, free: 2.602 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.0002072/0.3797, allocations: 200.5 kB / 1.076 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.555e-05/0.3798, allocations: 31.62 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002274/0.38, allocations: 114.4 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3801, allocations: 3.938 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3801, allocations: 4 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3801, allocations: 3.984 kB / 1.076 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.3807, allocations: 0.6605 MB / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3807, allocations: 0 / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.3807, allocations: 7.938 kB / 1.077 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3807, allocations: 4 kB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.3807, allocations: 0 / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3808, allocations: 4.125 kB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3808, allocations: 4 kB / 1.077 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.3809, allocations: 131.1 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.958e-05/0.381, allocations: 116.7 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.3811, allocations: 4 kB / 1.077 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.798e-05/0.3811, allocations: 4 kB / 1.077 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.3812, allocations: 11.98 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.3812, allocations: 4 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004312/0.3816, allocations: 387 kB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3816, allocations: 0 / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000236/0.3819, allocations: 43.84 kB / 1.077 GB, free: 0.75 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.0001403/0.382, allocations: 99.25 kB / 1.077 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.3822, allocations: 111.8 kB / 1.077 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3822, allocations: 4 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/0.3823, allocations: 12 kB / 1.077 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.3825, allocations: 41.44 kB / 1.077 GB, free: 488 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000761/0.3833, allocations: 0.5026 MB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.3837, allocations: 0.7908 MB / 1.079 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001182/0.3839, allocations: 58.92 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.3839, allocations: 27.44 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of SimCode: time 3.9e-07/0.3839, allocations: 0 / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.005168/0.3891, allocations: 1.986 MB / 1.081 GB, free: 13.06 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)