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.001184/0.001184, allocations: 100.1 kB / 15.88 MB, free: 12 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.001527/0.001527, allocations: 199.5 kB / 16.79 MB, free: 6.809 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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.697/2.697, allocations: 461.9 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 66.61 kB / 0.8991 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3049, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002334/0.3072, allocations: 0.9179 MB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000298/0.3076, allocations: 83.64 kB / 1.054 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.3077, allocations: 4 kB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.3078, allocations: 19.8 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.308, allocations: 15.92 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.715e-05/0.3081, allocations: 35.98 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.3084, allocations: 235.5 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000376/0.3087, allocations: 278.3 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.3089, allocations: 111.5 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.309, allocations: 135.2 kB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.3091, allocations: 16 kB / 1.055 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.514e-05/0.3091, allocations: 16 kB / 1.055 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.3092, allocations: 63.78 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.3093, allocations: 143 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.3096, allocations: 347.3 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3096, allocations: 4 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3096, allocations: 0 / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.3097, allocations: 0 / 1.055 GB, free: 5.906 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.0007409/0.3104, allocations: 0.5983 MB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3105, allocations: 8.031 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.3105, allocations: 48.41 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.311, allocations: 328.1 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.938e-05/0.311, allocations: 37.02 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.3111, allocations: 32.38 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.3117, allocations: 400.2 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3117, allocations: 192 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.3118, allocations: 19.94 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.3118, allocations: 8 kB / 1.057 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004493/0.3122, allocations: 307.5 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.3135, allocations: 1.045 MB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.3137, allocations: 89.16 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.435e-05/0.3138, allocations: 45.78 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.3138, allocations: 8 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3138, allocations: 34.56 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3139, allocations: 0 / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0003502/0.3142, allocations: 165.1 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.3143, allocations: 89.03 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005413/0.3148, allocations: 0.5052 MB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3148, allocations: 29.7 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.315, allocations: 203.5 kB / 1.059 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.315, allocations: 19.89 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.839e-05/0.3151, allocations: 57.61 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3152, allocations: 342.8 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.3153, allocations: 67.95 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.3154, allocations: 91.64 kB / 1.06 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.3156, allocations: 113.6 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3156, allocations: 0 / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002969/0.3159, allocations: 221 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3159, allocations: 4 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.316, allocations: 4 kB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.316, allocations: 4 kB / 1.06 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.3161, allocations: 31.86 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.954e-06/0.3161, allocations: 4 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.94e-05/0.3162, allocations: 31.53 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.3163, allocations: 12 kB / 1.06 GB, free: 0.6914 MB / 0.8106 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.000181/0.3164, allocations: 200 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-05/0.3165, allocations: 35.53 kB / 1.06 GB, free: 464 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.3167, allocations: 114 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3167, allocations: 3.938 kB / 1.06 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3168, allocations: 4 kB / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3168, allocations: 0 / 1.06 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/0.3173, allocations: 0.6564 MB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3173, allocations: 0 / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.3173, allocations: 7.984 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3174, allocations: 4 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.3174, allocations: 0 / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3174, allocations: 0 / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3174, allocations: 4.375 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.3175, allocations: 135.3 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.56e-05/0.3176, allocations: 120.6 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.3176, allocations: 7.938 kB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.251e-05/0.3177, allocations: 0 / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/0.3177, allocations: 12.19 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.3177, allocations: 4 kB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003945/0.3181, allocations: 395 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3182, allocations: 4 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002466/0.3184, allocations: 32 kB / 1.062 GB, free: 14.84 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.0001098/0.3185, allocations: 103.2 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.3187, allocations: 99.89 kB / 1.062 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/0.3187, allocations: 8 kB / 1.062 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.009e-05/0.3188, allocations: 15.98 kB / 1.062 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.3191, allocations: 33.5 kB / 1.062 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/0.3198, allocations: 0.6207 MB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3202, allocations: 0.7833 MB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.3202, allocations: 23.44 kB / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3202, allocations: 0 / 1.063 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of Templates: time 0.005749/0.326, allocations: 3.768 MB / 1.067 GB, free: 9.316 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)