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.001066/0.001066, 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.001167/0.001167, allocations: 193 kB / 16.13 MB, free: 6.656 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.425/1.425, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.003/3.003, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 63.28 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3834, 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.00235/0.3858, allocations: 0.916 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003056/0.3861, allocations: 87.69 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.3862, allocations: 7.938 kB / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.3864, allocations: 19.84 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.3866, allocations: 12 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.498e-05/0.3866, allocations: 31.98 kB / 1.069 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.3869, allocations: 231.4 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003816/0.3873, allocations: 286.3 kB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.3874, allocations: 111.5 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.3876, allocations: 127.3 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.3876, allocations: 20 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.349e-05/0.3876, allocations: 16 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.921e-05/0.3877, allocations: 67.72 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.3879, allocations: 147.1 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.3882, allocations: 410.6 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3882, allocations: 0 / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.455e-06/0.3882, allocations: 4 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.279e-05/0.3882, allocations: 0 / 1.07 GB, free: 8.461 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.0007448/0.389, allocations: 0.589 MB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.389, allocations: 12.03 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.319e-05/0.3891, allocations: 40.47 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000385/0.3895, allocations: 344 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/0.3896, allocations: 33.03 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.3896, allocations: 32.38 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.3902, allocations: 400 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3902, allocations: 192 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.969e-05/0.3902, allocations: 19.88 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.3903, allocations: 8 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.3907, allocations: 311.7 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.3921, allocations: 1.053 MB / 1.073 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3922, allocations: 89.22 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.965e-05/0.3923, allocations: 41.8 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.3923, allocations: 15.91 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.3924, allocations: 34.56 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.3924, allocations: 4 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003203/0.3927, allocations: 161.2 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.3928, allocations: 85.05 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.3933, allocations: 0.5091 MB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.3933, allocations: 25.7 kB / 1.074 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.3934, allocations: 211.4 kB / 1.074 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.3935, allocations: 19.75 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/0.3936, allocations: 53.69 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3937, allocations: 346.8 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.3938, allocations: 63.95 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.3939, allocations: 98.5 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.3941, allocations: 113.6 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3941, allocations: 0 / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000298/0.3944, allocations: 205.1 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3944, allocations: 4 kB / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3944, allocations: 192 / 1.075 GB, free: 3.332 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3945, allocations: 8 kB / 1.075 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.3946, allocations: 35.86 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3946, allocations: 4 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.055e-05/0.3947, allocations: 31.53 kB / 1.075 GB, free: 3.254 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.3947, allocations: 8 kB / 1.075 GB, free: 3.246 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.0001822/0.3949, allocations: 204 kB / 1.075 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/0.395, allocations: 35.62 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.3952, allocations: 114 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3952, allocations: 3.938 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3952, allocations: 4 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.3952, allocations: 3.938 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.3957, allocations: 0.6565 MB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3958, allocations: 0 / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.3958, allocations: 7.938 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3958, allocations: 4 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3958, allocations: 0 / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3958, allocations: 0 / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3958, allocations: 4 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.396, allocations: 135.2 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.3961, allocations: 116.7 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.362e-05/0.3961, allocations: 7.984 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.3961, allocations: 0 / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.317e-05/0.3962, allocations: 8.422 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3962, allocations: 4 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004014/0.3966, allocations: 391 kB / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3966, allocations: 0 / 1.076 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002445/0.3968, allocations: 43.84 kB / 1.076 GB, free: 1.387 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.0001023/0.397, allocations: 95.25 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000204/0.3972, allocations: 111.9 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3972, allocations: 0 / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.738e-05/0.3972, allocations: 24.12 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.3975, allocations: 38.42 kB / 1.077 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007093/0.3982, allocations: 0.5821 MB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.3986, allocations: 0.7912 MB / 1.078 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.3987, allocations: 62.92 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.3987, allocations: 19.44 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of SimCode: time 3.9e-07/0.3987, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.00538/0.4041, allocations: 1.912 MB / 1.08 GB, free: 13.7 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)