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.00156/0.00156, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001272/0.001272, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.385/1.385, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.892/2.892, allocations: 472.6 MB / 0.7448 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 62.75 kB / 0.9115 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.31, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.002151/0.3122, allocations: 0.9238 MB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002477/0.3125, allocations: 95.62 kB / 1.069 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.3126, allocations: 4 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.3127, allocations: 15.86 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.3129, allocations: 7.938 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 8.406e-05/0.3129, allocations: 39.97 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.3132, allocations: 243.5 kB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/0.3136, allocations: 298.3 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.3137, allocations: 135.5 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.3139, allocations: 135.3 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.716e-05/0.3139, allocations: 35.94 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.863e-05/0.314, allocations: 36 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.3141, allocations: 91.69 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.3142, allocations: 151.1 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004207/0.3146, allocations: 438.6 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3146, allocations: 0 / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3146, allocations: 0 / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.3146, allocations: 0 / 1.07 GB, free: 8.148 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.0006734/0.3153, allocations: 0.5967 MB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3154, allocations: 8.031 kB / 1.071 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.749e-05/0.3154, allocations: 40.47 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.3159, allocations: 336 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.3159, allocations: 37.02 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.316, allocations: 32.38 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006022/0.3166, allocations: 408 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3166, allocations: 192 / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.3166, allocations: 15.94 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.3167, allocations: 8 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.3172, allocations: 303.8 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.3185, allocations: 1.053 MB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.3187, allocations: 89.16 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.3187, allocations: 45.78 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3188, allocations: 4 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.3188, allocations: 38.56 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3188, allocations: 3.938 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.000319/0.3191, allocations: 165.2 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3192, allocations: 85.03 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.3197, allocations: 0.5052 MB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.3197, allocations: 25.7 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3199, allocations: 211.5 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.3199, allocations: 19.73 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.585e-05/0.32, allocations: 57.7 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3202, allocations: 342.8 kB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.3203, allocations: 63.95 kB / 1.075 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3204, allocations: 99.08 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.3206, allocations: 109.7 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3206, allocations: 0 / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002891/0.3209, allocations: 213.1 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.3209, allocations: 8 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.3209, allocations: 0 / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.321, allocations: 4 kB / 1.075 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.3211, allocations: 39.86 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3211, allocations: 0 / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.302e-05/0.3212, allocations: 31.53 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.3212, allocations: 19.94 kB / 1.075 GB, free: 2.926 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.0001931/0.3214, allocations: 200 kB / 1.075 GB, free: 2.723 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.3215, allocations: 31.98 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.3217, allocations: 114 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3217, allocations: 7.938 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3217, allocations: 3.984 kB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.3217, allocations: 0 / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005683/0.3223, allocations: 0.6526 MB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3223, allocations: 4 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.286e-05/0.3224, allocations: 7.984 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3224, allocations: 0 / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3224, allocations: 0 / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.3224, allocations: 4 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3224, allocations: 0 / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.3225, allocations: 135.2 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-05/0.3226, allocations: 116.7 kB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.3227, allocations: 4 kB / 1.076 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.322e-05/0.3227, allocations: 4 kB / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.3228, allocations: 8 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3228, allocations: 4 kB / 1.076 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004031/0.3232, allocations: 391 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3232, allocations: 0 / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002384/0.3234, allocations: 39.84 kB / 1.077 GB, free: 1.082 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.0001038/0.3235, allocations: 107.2 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002064/0.3237, allocations: 104.2 kB / 1.077 GB, free: 0.8633 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3238, allocations: 4 kB / 1.077 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.68e-05/0.3238, allocations: 20.11 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.3241, allocations: 41.38 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007081/0.3248, allocations: 0.5807 MB / 1.078 GB, free: 188 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.3252, allocations: 0.787 MB / 1.078 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001097/0.3253, allocations: 58.94 kB / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.3254, allocations: 19.44 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3254, allocations: 0 / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of Templates: time 0.00495/0.3304, allocations: 1.995 MB / 1.08 GB, free: 13.31 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)