Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.MultiMaxInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 91.84 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.00161/0.00161, 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.449/1.449, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.979/2.979, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004758, allocations: 8.719 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3753, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.0009235/0.3763, allocations: 345.9 kB / 1.058 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001487/0.3764, allocations: 7.984 kB / 1.058 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.3765, allocations: 3.938 kB / 1.058 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.267e-05/0.3766, allocations: 0 / 1.058 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.781e-05/0.3767, allocations: 4 kB / 1.058 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.952e-05/0.3768, allocations: 4 kB / 1.058 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.3769, allocations: 27.92 kB / 1.058 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.377, allocations: 27.97 kB / 1.058 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.626e-05/0.3771, allocations: 8 kB / 1.058 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.3771, allocations: 11.92 kB / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.3771, allocations: 0 / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.3772, allocations: 0 / 1.058 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.3772, allocations: 7.938 kB / 1.058 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.3772, allocations: 33.7 kB / 1.058 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.903e-05/0.3773, allocations: 27.94 kB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3773, allocations: 0 / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3773, allocations: 0 / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3773, allocations: 4 kB / 1.059 GB, free: 4.859 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004026/0.3778, allocations: 343.4 kB / 1.059 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3778, allocations: 11.97 kB / 1.059 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.3778, allocations: 4 kB / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.3781, allocations: 182.9 kB / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.3781, allocations: 0 / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3781, allocations: 15.94 kB / 1.059 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.3783, allocations: 73.67 kB / 1.059 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3783, allocations: 0 / 1.059 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.3783, allocations: 0 / 1.059 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.3783, allocations: 3.984 kB / 1.059 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.633e-05/0.3784, allocations: 55.91 kB / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005809/0.379, allocations: 487.1 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.919e-05/0.3791, allocations: 173.1 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.3792, allocations: 84.17 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.3792, allocations: 79.28 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.14e-05/0.3793, allocations: 105.8 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.021e-06/0.3793, allocations: 0 / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 9.138e-05/0.3794, allocations: 33.69 kB / 1.06 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.3795, allocations: 134.6 kB / 1.06 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.3796, allocations: 171.8 kB / 1.06 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.3797, allocations: 25.7 kB / 1.06 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3798, allocations: 96.14 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.629e-06/0.3798, allocations: 4.047 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-06/0.3798, allocations: 3.938 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.38, allocations: 322.8 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.745e-05/0.38, allocations: 4 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/0.38, allocations: 11.98 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.337e-05/0.38, allocations: 4 kB / 1.061 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3801, allocations: 3.984 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001275/0.3802, allocations: 57.66 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3802, allocations: 4 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3802, allocations: 0 / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3802, allocations: 0 / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/0.3803, allocations: 7.938 kB / 1.061 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3803, allocations: 3.953 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/0.3804, allocations: 7.938 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3804, allocations: 0 / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (mulMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001147/0.3805, allocations: 197.1 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.3806, allocations: 112.9 kB / 1.061 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.209e-05/0.3806, allocations: 112.8 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.782e-05/0.3807, allocations: 184.2 kB / 1.061 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-05/0.3808, allocations: 176.3 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.757e-05/0.3809, allocations: 184.2 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.3812, allocations: 425.2 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-05/0.3812, allocations: 105 kB / 1.062 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.653e-05/0.3812, allocations: 104.9 kB / 1.062 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-05/0.3813, allocations: 176.3 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.696e-05/0.3814, allocations: 180.2 kB / 1.063 GB, free: 128 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.433e-05/0.3815, allocations: 180.3 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-05/0.3815, allocations: 188.2 kB / 1.063 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.3817, allocations: 308 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.221e-05/0.3818, allocations: 197.9 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.3819, allocations: 184.3 kB / 1.064 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.382, allocations: 108.9 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.238e-05/0.382, allocations: 176.3 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.3821, allocations: 109 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000105/0.3822, allocations: 133.1 kB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3822, allocations: 0 / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002455/0.3825, allocations: 4 kB / 1.064 GB, free: 14.48 MB / 0.8262 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 (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.0001533/0.3826, allocations: 182.4 kB / 1.064 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.507e-05/0.3827, allocations: 11.98 kB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3827, allocations: 0 / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.537e-06/0.3827, allocations: 4 kB / 1.064 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.3832, allocations: 0.5262 MB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.3835, allocations: 210 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.3837, allocations: 0.6887 MB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.836e-05/0.3838, allocations: 8 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.3838, allocations: 7.438 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3838, allocations: 3.938 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of Templates: time 0.002546/0.3863, allocations: 431.4 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1)