Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0008077/0.0008079, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005664/0.005664, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.927/2.927, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003654, allocations: 8.938 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3553, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001452/0.3568, allocations: 0.5734 MB / 1.075 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003758/0.3573, allocations: 83.64 kB / 1.075 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.3574, allocations: 4 kB / 1.075 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.3576, allocations: 15.86 kB / 1.075 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.3578, allocations: 19.92 kB / 1.075 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001075/0.3579, allocations: 31.98 kB / 1.075 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.3582, allocations: 235.5 kB / 1.075 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004991/0.3587, allocations: 278.3 kB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.3589, allocations: 71.53 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.3591, allocations: 87.38 kB / 1.075 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.3591, allocations: 8 kB / 1.075 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.157e-05/0.3591, allocations: 4 kB / 1.076 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.3592, allocations: 47.72 kB / 1.076 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.3594, allocations: 140.8 kB / 1.076 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003999/0.3598, allocations: 406.5 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3598, allocations: 4 kB / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3598, allocations: 0 / 1.076 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.3598, allocations: 0 / 1.076 GB, free: 5.531 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.0007348/0.3605, allocations: 0.5188 MB / 1.077 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.3606, allocations: 12.03 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3607, allocations: 36.47 kB / 1.077 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.3611, allocations: 328.1 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.947e-05/0.3612, allocations: 37.02 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/0.3613, allocations: 32.38 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006566/0.3619, allocations: 404 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.362, allocations: 192 / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.362, allocations: 15.94 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.362, allocations: 11.94 kB / 1.077 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.3625, allocations: 303.7 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.3642, allocations: 1.061 MB / 1.079 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.3644, allocations: 93.16 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/0.3645, allocations: 49.8 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3645, allocations: 3.938 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3645, allocations: 38.55 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.3645, allocations: 0 / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003623/0.3649, allocations: 169.2 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.365, allocations: 81.05 kB / 1.079 GB, free: 2.152 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/0.3655, allocations: 0.513 MB / 1.08 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.3656, allocations: 29.7 kB / 1.08 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.3657, allocations: 203.4 kB / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.3657, allocations: 15.86 kB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.3658, allocations: 33.7 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.366, allocations: 346.8 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.3661, allocations: 67.95 kB / 1.08 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.3662, allocations: 91.02 kB / 1.08 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.3664, allocations: 113.7 kB / 1.081 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3664, allocations: 0 / 1.081 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003411/0.3667, allocations: 213.1 kB / 1.081 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3668, allocations: 4 kB / 1.081 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3668, allocations: 4 kB / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3668, allocations: 0 / 1.081 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.367, allocations: 35.92 kB / 1.081 GB, free: 472 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.367, allocations: 3.938 kB / 1.081 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.474e-05/0.3671, allocations: 35.53 kB / 1.081 GB, free: 432 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.3671, allocations: 4 kB / 1.081 GB, free: 428 kB / 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.0002225/0.3673, allocations: 204 kB / 1.081 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.248e-05/0.3674, allocations: 31.53 kB / 1.081 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.3677, allocations: 118 kB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3677, allocations: 7.938 kB / 1.081 GB, free: 44 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3677, allocations: 4.062 kB / 1.081 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3677, allocations: 0 / 1.081 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005722/0.3683, allocations: 0.6563 MB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3683, allocations: 0 / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/0.3683, allocations: 4 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3683, allocations: 0 / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.3683, allocations: 8.125 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3684, allocations: 4 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3684, allocations: 0 / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.3685, allocations: 135.2 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3686, allocations: 120.6 kB / 1.082 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.3687, allocations: 12 kB / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.25e-05/0.3687, allocations: 0 / 1.082 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.3687, allocations: 11.98 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3688, allocations: 4 kB / 1.082 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004213/0.3692, allocations: 387 kB / 1.082 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3692, allocations: 0 / 1.082 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002564/0.3695, allocations: 39.94 kB / 1.082 GB, free: 14.55 MB / 0.8419 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.0001328/0.3696, allocations: 103.2 kB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002225/0.3698, allocations: 112.1 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3698, allocations: 0 / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.169e-05/0.3699, allocations: 16 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.3702, allocations: 35.3 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008252/0.371, allocations: 0.5862 MB / 1.083 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.3714, allocations: 0.7872 MB / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001188/0.3715, allocations: 66.91 kB / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.736e-05/0.3716, allocations: 23.44 kB / 1.084 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of SimCode: time 3.7e-07/0.3716, allocations: 3.938 kB / 1.084 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.005277/0.3769, allocations: 1.86 MB / 1.086 GB, free: 10.91 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile (rm -f Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1)