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.0006772/0.0006772, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009115/0.001589, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007123/0.0007123, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008849/0.001597, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9905/0.9905, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08061/1.071, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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 1.925/1.925, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4633/2.388, allocations: 127.1 MB / 0.7432 GB, free: 4.625 MB / 0.7136 GB " [Timeout remaining time 178] 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 1.563e-06/1.563e-06, allocations: 0 / 0.7444 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.039e-05, allocations: 2.969 kB / 0.7445 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001609/0.001629, allocations: 0.9259 MB / 0.7454 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001492/0.001779, allocations: 91.58 kB / 0.7454 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.001845, allocations: 9.312 kB / 0.7455 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.145e-05/0.001917, allocations: 25.09 kB / 0.7455 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.1e-05/0.001998, allocations: 17.39 kB / 0.7455 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.935e-05/0.002057, allocations: 43.95 kB / 0.7455 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.00227, allocations: 245 kB / 0.7458 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.002475, allocations: 186.8 kB / 0.7459 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.002694, allocations: 231.5 kB / 0.7462 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.077e-05/0.002785, allocations: 107.7 kB / 0.7463 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.002825, allocations: 28.72 kB / 0.7463 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.493e-05/0.00285, allocations: 30.22 kB / 0.7463 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.002903, allocations: 63.75 kB / 0.7464 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.002966, allocations: 63.81 kB / 0.7464 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.003165, allocations: 227 kB / 0.7467 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.555e-05/0.003181, allocations: 4 kB / 0.7467 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003182, allocations: 4 kB / 0.7467 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.592e-05/0.003198, allocations: 2.438 kB / 0.7467 GB, free: 1.141 MB / 0.7136 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.0005357/0.003733, allocations: 0.5463 MB / 0.7472 GB, free: 0.5664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.003763, allocations: 8.031 kB / 0.7472 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.00382, allocations: 52.91 kB / 0.7473 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.004042, allocations: 229.1 kB / 0.7475 GB, free: 264 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.004081, allocations: 34.58 kB / 0.7475 GB, free: 228 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.004106, allocations: 36.38 kB / 0.7476 GB, free: 192 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.00438, allocations: 267.7 kB / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.00439, allocations: 192 / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.004408, allocations: 12.38 kB / 0.7478 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.004415, allocations: 9.281 kB / 0.7478 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.004538, allocations: 105.1 kB / 0.7479 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006569/0.005195, allocations: 0.6239 MB / 0.7485 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.183e-05/0.005277, allocations: 57.17 kB / 0.7486 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.005296, allocations: 17.7 kB / 0.7486 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.005317, allocations: 4 kB / 0.7486 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.005338, allocations: 38.5 kB / 0.7487 GB, free: 15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.00534, allocations: 0 / 0.7487 GB, free: 15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0001381/0.005478, allocations: 65.69 kB / 0.7487 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.005517, allocations: 81.73 kB / 0.7488 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.005683, allocations: 277.3 kB / 0.7491 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.005693, allocations: 25.7 kB / 0.7491 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.005773, allocations: 201.4 kB / 0.7493 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.005785, allocations: 19.88 kB / 0.7493 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.005841, allocations: 66.25 kB / 0.7494 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.005928, allocations: 339.3 kB / 0.7497 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.00595, allocations: 12 kB / 0.7497 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.269e-05/0.005983, allocations: 35.19 kB / 0.7497 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.47e-05/0.006038, allocations: 53.55 kB / 0.7498 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.00604, allocations: 0 / 0.7498 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 9.223e-05/0.006132, allocations: 97.58 kB / 0.7499 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.00616, allocations: 4.969 kB / 0.7499 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.006165, allocations: 4 kB / 0.7499 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.006173, allocations: 4.656 kB / 0.7499 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.734e-05/0.00627, allocations: 31.92 kB / 0.7499 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.006272, allocations: 4.531 kB / 0.7499 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.006305, allocations: 20.5 kB / 0.7499 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.006316, allocations: 4 kB / 0.7499 GB, free: 13.61 MB / 0.7292 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 8.886e-05/0.006405, allocations: 136.7 kB / 0.7501 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.513e-05/0.00644, allocations: 15.98 kB / 0.7501 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.006546, allocations: 77.58 kB / 0.7502 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.006548, allocations: 5.625 kB / 0.7502 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.00655, allocations: 0 / 0.7502 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.006553, allocations: 0 / 0.7502 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.006793, allocations: 461.4 kB / 0.7506 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.006794, allocations: 0 / 0.7506 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.461e-05/0.006809, allocations: 4.5 kB / 0.7506 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.006827, allocations: 24.59 kB / 0.7506 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.006829, allocations: 0 / 0.7506 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.006834, allocations: 6.25 kB / 0.7506 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.006835, allocations: 0 / 0.7506 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.006837, allocations: 3.938 kB / 0.7506 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.392e-05/0.006931, allocations: 91.62 kB / 0.7507 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.006943, allocations: 4 kB / 0.7507 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.006965, allocations: 11.92 kB / 0.7507 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.006979, allocations: 10.69 kB / 0.7508 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.006982, allocations: 4 kB / 0.7508 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.871e-05/0.00704, allocations: 82.77 kB / 0.7508 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007041, allocations: 0 / 0.7508 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001346/0.007175, allocations: 55.72 kB / 0.7509 GB, free: 12.55 MB / 0.7292 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 6.915e-05/0.007244, allocations: 91.17 kB / 0.751 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.366e-05/0.007328, allocations: 44.78 kB / 0.751 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.007335, allocations: 4 kB / 0.751 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-05/0.007348, allocations: 16.78 kB / 0.751 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.007466, allocations: 33.06 kB / 0.7511 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.007912, allocations: 465.1 kB / 0.7515 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.623e-05/0.007958, allocations: 83.97 kB / 0.7516 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.007995, allocations: 21.62 kB / 0.7516 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.008055, allocations: 67.38 kB / 0.7517 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of SimCode: time 9.11e-07/0.008056, allocations: 1.219 kB / 0.7517 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of Templates: time 0.003686/0.01174, allocations: 1.371 MB / 0.753 GB, free: 10.38 MB / 0.7292 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: 4.831239458173513]