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.001442/0.001442, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001828/0.001828, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.774/2.774, allocations: 462.6 MB / 0.736 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 9.625 kB / 0.9021 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3831, allocations: 159.6 MB / 1.058 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.FirstTrueIndex): time 0.001773/0.3849, allocations: 0.5442 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004813/0.3854, allocations: 87.62 kB / 1.059 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.3856, allocations: 4 kB / 1.059 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.3858, allocations: 15.86 kB / 1.059 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.3861, allocations: 15.92 kB / 1.059 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.3862, allocations: 19.98 kB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.3868, allocations: 235.5 kB / 1.059 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000629/0.3874, allocations: 238.7 kB / 1.059 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.3876, allocations: 67.59 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.3878, allocations: 75.45 kB / 1.059 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.301e-05/0.3878, allocations: 4 kB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.006e-05/0.3879, allocations: 8 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.843e-05/0.388, allocations: 39.8 kB / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.596e-05/0.3881, allocations: 69.52 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005204/0.3886, allocations: 351.1 kB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3886, allocations: 0 / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3886, allocations: 0 / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.3887, allocations: 0 / 1.06 GB, free: 3.672 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.001081/0.3897, allocations: 0.5264 MB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.3898, allocations: 12.03 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.39, allocations: 39.53 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.3906, allocations: 323 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-05/0.3907, allocations: 32.64 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.181e-05/0.3908, allocations: 43.95 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009681/0.3918, allocations: 395.6 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3918, allocations: 4 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.3919, allocations: 12 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.3919, allocations: 8 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008282/0.3927, allocations: 299.6 kB / 1.061 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.3952, allocations: 1.053 MB / 1.062 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.3954, allocations: 97.14 kB / 1.062 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.3956, allocations: 45.8 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.3956, allocations: 7.984 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.3957, allocations: 30.56 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.3957, allocations: 0 / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0005866/0.3963, allocations: 169.2 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.3964, allocations: 85.05 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3974, allocations: 0.5052 MB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.3975, allocations: 29.7 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.3977, allocations: 199.5 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.57e-05/0.3978, allocations: 27.72 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.3978, allocations: 0 / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002191/0.398, allocations: 346.8 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.3982, allocations: 63.95 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.3985, allocations: 91.53 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.3987, allocations: 63.97 kB / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3988, allocations: 0 / 1.064 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005729/0.3993, allocations: 205.1 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3994, allocations: 8 kB / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.3994, allocations: 0 / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3994, allocations: 0 / 1.064 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.3997, allocations: 31.98 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.3997, allocations: 0 / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.3999, allocations: 35.53 kB / 1.064 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.4, allocations: 8.188 kB / 1.064 GB, free: 14.67 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.y,idxFirTru.mulMin.y,idxFirTru.intEqu.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,idxFirTruAllFal.y,idxFirTruAllFal.mulMin.y,idxFirTruAllFal.intEqu.y,idxFirTruAllFal.booToInt[6].y,idxFirTruAllFal.booToInt[5].y,idxFirTruAllFal.booToInt[4].y,idxFirTruAllFal.booToInt[3].y,idxFirTruAllFal.booToInt[2].y,idxFirTruAllFal.booToInt[1].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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003723/0.4003, allocations: 207.9 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.4005, allocations: 39.47 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.4009, allocations: 118 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4009, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4009, allocations: 4.062 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4009, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009114/0.4018, allocations: 0.6525 MB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4019, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.752e-05/0.4019, allocations: 4 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4019, allocations: 4.062 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.4019, allocations: 8 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.402, allocations: 0 / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.402, allocations: 3.953 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.4022, allocations: 127.3 kB / 1.066 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.4024, allocations: 124.7 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.4025, allocations: 3.984 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.636e-05/0.4026, allocations: 4 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.4027, allocations: 12.38 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.4027, allocations: 0 / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007381/0.4034, allocations: 379 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4034, allocations: 0 / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004466/0.4039, allocations: 43.84 kB / 1.066 GB, free: 12.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001704/0.4041, allocations: 103.2 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.4045, allocations: 107.8 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4045, allocations: 0 / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.847e-05/0.4045, allocations: 12 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.405, allocations: 33.55 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.4063, allocations: 0.5433 MB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.4069, allocations: 0.7876 MB / 1.068 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001975/0.4071, allocations: 54.94 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.793e-05/0.4072, allocations: 27.42 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.4073, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of Templates: time 0.008924/0.4162, allocations: 1.785 MB / 1.069 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)