Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_latest_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_latest_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.000991/0.0009911, allocations: 92.7 kB / 16.02 MB, free: 80 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.001236/0.001236, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.352/1.352, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.669/2.669, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 10.86 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3053, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001117/0.3064, allocations: 0.5713 MB / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002872/0.3067, allocations: 83.69 kB / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.51e-05/0.3069, allocations: 4 kB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001037/0.307, allocations: 15.8 kB / 1.06 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.3071, allocations: 15.94 kB / 1.06 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.482e-05/0.3072, allocations: 39.97 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.3075, allocations: 235.4 kB / 1.06 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004138/0.3079, allocations: 278.3 kB / 1.061 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.308, allocations: 67.59 kB / 1.061 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.3081, allocations: 91.31 kB / 1.061 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.3082, allocations: 8 kB / 1.061 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.074e-05/0.3082, allocations: 4 kB / 1.061 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.3083, allocations: 43.8 kB / 1.061 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.3084, allocations: 144.7 kB / 1.061 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.3087, allocations: 339.2 kB / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3087, allocations: 0 / 1.061 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.856e-06/0.3088, allocations: 7.984 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.3088, allocations: 0 / 1.061 GB, free: 3 MB / 0.8106 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.0006848/0.3095, allocations: 0.5226 MB / 1.062 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3095, allocations: 8.031 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.399e-05/0.3096, allocations: 40.47 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.31, allocations: 328.1 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-05/0.3101, allocations: 40.95 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.3101, allocations: 28.38 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006495/0.3108, allocations: 408.2 kB / 1.063 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3108, allocations: 192 / 1.063 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.3108, allocations: 15.94 kB / 1.063 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3109, allocations: 8 kB / 1.063 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004601/0.3113, allocations: 307.6 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.3127, allocations: 1.053 MB / 1.064 GB, free: 108 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3129, allocations: 85.22 kB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.254e-05/0.313, allocations: 45.8 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.313, allocations: 4 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.313, allocations: 38.48 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.313, allocations: 0 / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.000331/0.3134, allocations: 173.2 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.3134, allocations: 81.05 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.314, allocations: 0.5091 MB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.314, allocations: 29.7 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.3142, allocations: 207.5 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.3142, allocations: 11.8 kB / 1.065 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.512e-05/0.3143, allocations: 37.7 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3144, allocations: 346.8 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.3146, allocations: 67.95 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3147, allocations: 86.59 kB / 1.066 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.3148, allocations: 125.5 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3149, allocations: 0 / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002864/0.3151, allocations: 209.1 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3152, allocations: 4 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3152, allocations: 0 / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.3152, allocations: 3.938 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.3153, allocations: 31.92 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3154, allocations: 4 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.663e-05/0.3154, allocations: 31.53 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.3155, allocations: 8 kB / 1.066 GB, free: 13.89 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.0001947/0.3157, allocations: 208 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.3157, allocations: 31.62 kB / 1.066 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.316, allocations: 117.9 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.316, allocations: 3.938 kB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.316, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.316, allocations: 8.062 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.3165, allocations: 0.6525 MB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3165, allocations: 0 / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.3165, allocations: 7.938 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3166, allocations: 4 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.3166, allocations: 128 / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3166, allocations: 4 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3166, allocations: 4 kB / 1.067 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.3167, allocations: 123.3 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.3168, allocations: 128.7 kB / 1.067 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.3168, allocations: 4 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.3169, allocations: 4 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.919e-05/0.3169, allocations: 11.92 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.3169, allocations: 0 / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000388/0.3173, allocations: 391.2 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3173, allocations: 0 / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002392/0.3176, allocations: 43.84 kB / 1.068 GB, free: 12.03 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.0001158/0.3177, allocations: 103.2 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.3179, allocations: 108.3 kB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3179, allocations: 0 / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.593e-05/0.318, allocations: 15.94 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.3183, allocations: 29.5 kB / 1.068 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007538/0.319, allocations: 0.6154 MB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.3193, allocations: 0.7794 MB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.3194, allocations: 27.38 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of SimCode: time 6.82e-07/0.3194, allocations: 4 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.006006/0.3254, allocations: 3.735 MB / 1.073 GB, free: 6.543 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1)