Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009688/0.0009688, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 161 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9416/0.9416, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.016/2.016, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 0.7751 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.836e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001674/0.001703, allocations: 0.8701 MB / 0.776 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002584/0.001961, allocations: 99.5 kB / 0.7761 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.002041, allocations: 4.594 kB / 0.7761 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.002164, allocations: 24.88 kB / 0.7761 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.002287, allocations: 18.27 kB / 0.7761 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 6.593e-05/0.002353, allocations: 39.97 kB / 0.7762 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000232/0.002585, allocations: 258 kB / 0.7764 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.002798, allocations: 182.8 kB / 0.7766 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.003022, allocations: 219.6 kB / 0.7768 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.79e-05/0.00312, allocations: 112.8 kB / 0.7769 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.003158, allocations: 28 kB / 0.7769 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.821e-05/0.003186, allocations: 28 kB / 0.777 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.003248, allocations: 76.66 kB / 0.777 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.003313, allocations: 87.7 kB / 0.7771 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.00354, allocations: 254.9 kB / 0.7774 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.003542, allocations: 0.6562 kB / 0.7774 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003543, allocations: 0 / 0.7774 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003547, allocations: 4.688 kB / 0.7774 GB, free: 3.211 MB / 0.7292 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.0004258/0.003973, allocations: 499.9 kB / 0.7778 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.004006, allocations: 10.69 kB / 0.7779 GB, free: 2.688 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.416e-05/0.00407, allocations: 48.91 kB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.004304, allocations: 234.5 kB / 0.7781 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.004346, allocations: 37.02 kB / 0.7782 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.004375, allocations: 28.38 kB / 0.7782 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.004636, allocations: 263.8 kB / 0.7784 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.004646, allocations: 0.8438 kB / 0.7784 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.004665, allocations: 12.97 kB / 0.7785 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.004674, allocations: 8.375 kB / 0.7785 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.004789, allocations: 110.8 kB / 0.7786 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007259/0.005515, allocations: 0.6167 MB / 0.7792 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.031e-05/0.005605, allocations: 65.88 kB / 0.7792 GB, free: 1.199 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.988e-05/0.005625, allocations: 17.91 kB / 0.7792 GB, free: 1.176 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.005644, allocations: 4.734 kB / 0.7793 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.005664, allocations: 34.56 kB / 0.7793 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 2.235e-06/0.005667, allocations: 2.781 kB / 0.7793 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.000145/0.005812, allocations: 65.61 kB / 0.7794 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.005848, allocations: 77.11 kB / 0.7794 GB, free: 0.9648 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.006024, allocations: 288.6 kB / 0.7797 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.006033, allocations: 25.7 kB / 0.7797 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.006112, allocations: 192.8 kB / 0.7799 GB, free: 456 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.006123, allocations: 15.91 kB / 0.7799 GB, free: 440 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.006185, allocations: 73.61 kB / 0.78 GB, free: 360 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.905e-05/0.006264, allocations: 337.5 kB / 0.7803 GB, free: 16 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.007e-05/0.006294, allocations: 15.98 kB / 0.7803 GB, free: 0 / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/0.006345, allocations: 37.62 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.643e-05/0.006401, allocations: 49.67 kB / 0.7804 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.006404, allocations: 0 / 0.7804 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000101/0.006505, allocations: 93.53 kB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.00652, allocations: 8 kB / 0.7805 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.006526, allocations: 6.172 kB / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.006539, allocations: 0 / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.006625, allocations: 24 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.006627, allocations: 0 / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.388e-05/0.006661, allocations: 27.83 kB / 0.7806 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.006671, allocations: 4 kB / 0.7806 GB, free: 15.74 MB / 0.7448 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 (idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[1].y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.y,idxFirTru.booToInt[6].y,idxFirTru.booToInt[5].y,idxFirTru.booToInt[4].y,idxFirTru.booToInt[3].y,idxFirTru.booToInt[2].y,idxFirTru.booToInt[1].y,idxFirTru.intEqu.y,idxFirTru.mulMin.y,idxFirTru.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 9.12e-05/0.006763, allocations: 132.3 kB / 0.7807 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.00679, allocations: 11.98 kB / 0.7807 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001284/0.006919, allocations: 93.47 kB / 0.7808 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.00692, allocations: 0.625 kB / 0.7808 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.006922, allocations: 0 / 0.7808 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.006926, allocations: 0.6875 kB / 0.7808 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.007183, allocations: 446.3 kB / 0.7812 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.007186, allocations: 4 kB / 0.7812 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.932e-05/0.007205, allocations: 11.94 kB / 0.7812 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.007208, allocations: 0.5938 kB / 0.7812 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.007212, allocations: 3.938 kB / 0.7812 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.007215, allocations: 8.984 kB / 0.7813 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.007217, allocations: 0 / 0.7813 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.873e-05/0.007285, allocations: 96.11 kB / 0.7813 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.007303, allocations: 21.44 kB / 0.7814 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.007315, allocations: 0 / 0.7814 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.007336, allocations: 4 kB / 0.7814 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.007351, allocations: 4.75 kB / 0.7814 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.007356, allocations: 4 kB / 0.7814 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.31e-05/0.007419, allocations: 83.3 kB / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007419, allocations: 0 / 0.7815 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001404/0.007559, allocations: 60.67 kB / 0.7815 GB, free: 14.69 MB / 0.7448 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 9.706e-05/0.007656, allocations: 83.34 kB / 0.7816 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.884e-05/0.007755, allocations: 57.84 kB / 0.7816 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.007762, allocations: 4 kB / 0.7817 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.229e-05/0.007774, allocations: 14.33 kB / 0.7817 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.007907, allocations: 34.67 kB / 0.7817 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.008364, allocations: 448.2 kB / 0.7821 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.153e-05/0.008415, allocations: 88.86 kB / 0.7822 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.546e-05/0.008451, allocations: 17.64 kB / 0.7822 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.008517, allocations: 76.38 kB / 0.7823 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of SimCode: time 5.52e-07/0.008518, allocations: 0 / 0.7823 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.003507/0.01202, allocations: 1.322 MB / 0.7836 GB, free: 12.57 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; mkfifo Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe ; head -c 1048576 < Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe >> ../files/Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.sim & ./Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.045119508169591]