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.0009831/0.0009832, allocations: 96.14 kB / 16.03 MB, free: 68 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.001156/0.001156, allocations: 183.8 kB / 16.92 MB, free: 6.906 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.735/2.735, allocations: 462.6 MB / 0.737 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003309, allocations: 9.938 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2899, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.0007596/0.2907, allocations: 341.9 kB / 1.06 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001382/0.2909, allocations: 7.938 kB / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.471e-05/0.2909, allocations: 0 / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.243e-05/0.291, allocations: 3.938 kB / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.698e-05/0.2911, allocations: 4 kB / 1.06 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.945e-05/0.2912, allocations: 7.984 kB / 1.06 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.405e-05/0.2913, allocations: 19.94 kB / 1.06 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.2914, allocations: 35.97 kB / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.872e-05/0.2915, allocations: 7.938 kB / 1.06 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.072e-05/0.2915, allocations: 11.92 kB / 1.06 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.2915, allocations: 0 / 1.06 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-06/0.2915, allocations: 0 / 1.06 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.2916, allocations: 8 kB / 1.06 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.005e-05/0.2916, allocations: 41.58 kB / 1.06 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.875e-05/0.2917, allocations: 27.94 kB / 1.06 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2917, allocations: 4 kB / 1.06 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2917, allocations: 0 / 1.06 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2917, allocations: 0 / 1.06 GB, free: 4.43 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.0003127/0.292, allocations: 351.6 kB / 1.06 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2921, allocations: 8.031 kB / 1.06 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.416e-05/0.2921, allocations: 4.938 kB / 1.06 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.2923, allocations: 188.2 kB / 1.06 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.2923, allocations: 4.312 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.2923, allocations: 8.375 kB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.2925, allocations: 82.16 kB / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2925, allocations: 192 / 1.06 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.2925, allocations: 3.938 kB / 1.06 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2925, allocations: 3.938 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.935e-05/0.2926, allocations: 51.97 kB / 1.061 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.2931, allocations: 479.1 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.379e-05/0.2932, allocations: 173.1 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.184e-05/0.2932, allocations: 84.12 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.2933, allocations: 83.33 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.2933, allocations: 109.8 kB / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.2933, allocations: 0 / 1.061 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.607e-05/0.2934, allocations: 33.61 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.2934, allocations: 126.7 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.2936, allocations: 175.3 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.2937, allocations: 25.7 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.2937, allocations: 100.1 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.2937, allocations: 0 / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.2938, allocations: 9.719 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.546e-05/0.2939, allocations: 314.8 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.2939, allocations: 7.984 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.401e-05/0.2939, allocations: 11.94 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.757e-05/0.2939, allocations: 16.84 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.294, allocations: 0 / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001193/0.2941, allocations: 53.66 kB / 1.062 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2941, allocations: 8 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2941, allocations: 0 / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.2941, allocations: 0 / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.946e-05/0.2942, allocations: 7.984 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2942, allocations: 3.938 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.767e-05/0.2942, allocations: 7.938 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.2942, allocations: 0 / 1.062 GB, free: 1.715 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.2944, allocations: 201.1 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.2944, allocations: 108.8 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.2945, allocations: 112.9 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.714e-05/0.2945, allocations: 184.2 kB / 1.063 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.816e-05/0.2946, allocations: 188.2 kB / 1.063 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.708e-05/0.2947, allocations: 176.3 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002335/0.2949, allocations: 429.1 kB / 1.064 GB, free: 248 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/0.2949, allocations: 101 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.295, allocations: 108.9 kB / 1.064 GB, free: 24 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.959e-05/0.2951, allocations: 180.2 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.364e-05/0.2951, allocations: 176.3 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.477e-05/0.2952, allocations: 184.2 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.844e-05/0.2952, allocations: 188.2 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.2954, allocations: 311.9 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.2955, allocations: 201.9 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.2955, allocations: 176.3 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.2956, allocations: 113 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.2957, allocations: 184.1 kB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.2957, allocations: 101 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.656e-05/0.2958, allocations: 133.3 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2958, allocations: 0 / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002178/0.296, allocations: 8 kB / 1.066 GB, free: 14 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 (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.0001247/0.2962, allocations: 174.5 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.575e-05/0.2963, allocations: 15.92 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2963, allocations: 0 / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.2963, allocations: 4 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.2967, allocations: 0.5155 MB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.297, allocations: 243.7 kB / 1.067 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.2972, allocations: 0.6848 MB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.2973, allocations: 11.44 kB / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2973, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of Templates: time 0.002034/0.2993, allocations: 0.7318 MB / 1.068 GB, free: 11.56 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)