Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.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.LastTrueIndex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 108 kB / 15.6 MB, free: 132 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.001293/0.001292, allocations: 194 kB / 16.53 MB, free: 6.391 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.396/1.396, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002484/0.002484, allocations: 60.72 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3242, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex): time 0.002475/0.3267, allocations: 0.7118 MB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002338/0.327, allocations: 55.78 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.839e-05/0.3271, allocations: 0 / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.3272, allocations: 15.86 kB / 1.069 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.3273, allocations: 15.91 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.535e-05/0.3274, allocations: 15.98 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.3276, allocations: 175.6 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.328, allocations: 260.9 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3281, allocations: 95.64 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.3283, allocations: 115.5 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.511e-05/0.3283, allocations: 28 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.015e-05/0.3284, allocations: 24 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.3284, allocations: 67.78 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.3286, allocations: 123.2 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.3289, allocations: 362.8 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3289, allocations: 0 / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3289, allocations: 0 / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.3289, allocations: 0 / 1.07 GB, free: 8.332 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006961/0.3296, allocations: 0.5537 MB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3296, allocations: 8.031 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.3297, allocations: 36.56 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.3301, allocations: 305.2 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.3301, allocations: 32.92 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.3302, allocations: 24.38 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.3308, allocations: 343 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3308, allocations: 192 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.3309, allocations: 15.94 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3309, allocations: 4 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.3312, allocations: 260.4 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.3324, allocations: 0.9168 MB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.3326, allocations: 57.2 kB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.3326, allocations: 33.77 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3326, allocations: 3.938 kB / 1.073 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.3327, allocations: 38.48 kB / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3327, allocations: 0 / 1.073 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002625/0.3329, allocations: 133.4 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.3331, allocations: 77.11 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.3337, allocations: 477.4 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3337, allocations: 25.7 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.3339, allocations: 187.5 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.3339, allocations: 7.984 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/0.334, allocations: 41.7 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.3342, allocations: 339 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.557e-05/0.3343, allocations: 63.95 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3344, allocations: 72.42 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.3345, allocations: 105.6 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3345, allocations: 0 / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002735/0.3348, allocations: 189.2 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3349, allocations: 4 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3349, allocations: 0 / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3349, allocations: 4 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.335, allocations: 35.92 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.335, allocations: 0 / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.895e-05/0.3351, allocations: 27.59 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.3352, allocations: 4 kB / 1.074 GB, free: 3.711 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: 14 (idxLasTru.booToInt[1].y,idxLasTru.booToInt[2].y,idxLasTru.booToInt[3].y,idxLasTru.booToInt[4].y,idxLasTru.booToInt[5].y,idxLasTru.booToInt[6].y,idxLasTru.y,idxLasTruAllFal.booToInt[1].y,idxLasTruAllFal.booToInt[2].y,idxLasTruAllFal.booToInt[3].y,idxLasTruAllFal.booToInt[4].y,idxLasTruAllFal.booToInt[5].y,idxLasTruAllFal.booToInt[6].y,idxLasTruAllFal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001899/0.3353, allocations: 197.7 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.837e-05/0.3354, allocations: 31.66 kB / 1.075 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.3357, allocations: 168.6 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.495e-05/0.3357, allocations: 176.3 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000132/0.3359, allocations: 180.2 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.683e-05/0.336, allocations: 188.2 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003681/0.3363, allocations: 0.5204 MB / 1.076 GB, free: 2.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001187/0.3365, allocations: 108.9 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.3365, allocations: 112.9 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-05/0.3366, allocations: 180.2 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.3367, allocations: 176.3 kB / 1.076 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.329e-05/0.3367, allocations: 188.2 kB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001186/0.3368, allocations: 180.3 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001809/0.337, allocations: 323.7 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.3372, allocations: 229.6 kB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.663e-05/0.3373, allocations: 184.2 kB / 1.077 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.3374, allocations: 109 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.3375, allocations: 180.3 kB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.3375, allocations: 108.9 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004/0.3379, allocations: 359.1 kB / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3379, allocations: 0 / 1.078 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002974/0.3382, allocations: 28 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001599/0.3384, allocations: 174.5 kB / 1.078 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000166/0.3386, allocations: 75.89 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3386, allocations: 4 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.3386, allocations: 0 / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.339, allocations: 485.2 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.3396, allocations: 0.4964 MB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.34, allocations: 0.7753 MB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.71e-05/0.3401, allocations: 54.25 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.3401, allocations: 19.44 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3401, allocations: 0 / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.004953/0.3451, allocations: 1.697 MB / 1.082 GB, free: 11.82 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.makefile (rm -f Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; mkfifo Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe >> ../files/Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.sim & ./Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Templates.Plants.Controls.Utilities.Validation.LastTrueIndex.pipe 2>&1)