Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008072/0.008072, allocations: 106.1 kB / 15.73 MB, free: 6.047 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.001466/0.001466, allocations: 196.6 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.611/1.611, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 68.45 kB / 0.7258 GB, free: 9.043 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2928, allocations: 104.7 MB / 0.8281 GB, free: 232 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.003234/0.2961, allocations: 1.483 MB / 0.8295 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000512/0.2967, allocations: 184.3 kB / 0.8297 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.462e-05/0.2968, allocations: 0 / 0.8297 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.791e-05/0.2968, allocations: 15.8 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.297, allocations: 7.875 kB / 0.8297 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.2972, allocations: 39.95 kB / 0.8297 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.2974, allocations: 87.81 kB / 0.8298 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.2975, allocations: 27.92 kB / 0.8298 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2976, allocations: 39.84 kB / 0.8299 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.413e-05/0.2977, allocations: 51.81 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.2978, allocations: 8 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.812e-05/0.2978, allocations: 8 kB / 0.83 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.2978, allocations: 19.92 kB / 0.83 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.2979, allocations: 35.78 kB / 0.83 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.2981, allocations: 87.66 kB / 0.8301 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.2981, allocations: 4 kB / 0.8301 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2981, allocations: 0 / 0.8301 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2981, allocations: 0 / 0.8301 GB, free: 14.13 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007332/0.2988, allocations: 393.8 kB / 0.8305 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2989, allocations: 8.031 kB / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.2989, allocations: 12.84 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.2991, allocations: 172.2 kB / 0.8307 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.2991, allocations: 16.36 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.2991, allocations: 4.375 kB / 0.8307 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.2995, allocations: 106.2 kB / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.2995, allocations: 192 / 0.8308 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.2995, allocations: 11.88 kB / 0.8308 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2996, allocations: 0 / 0.8308 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003701/0.2999, allocations: 95.91 kB / 0.8309 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.3005, allocations: 340.6 kB / 0.8312 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.3011, allocations: 122.4 kB / 0.8313 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.3014, allocations: 64.81 kB / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.3014, allocations: 0 / 0.8314 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/0.3015, allocations: 34.56 kB / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3015, allocations: 0 / 0.8314 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0007111/0.3022, allocations: 185.4 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.3022, allocations: 59.39 kB / 0.8316 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3024, allocations: 121.8 kB / 0.8318 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3024, allocations: 29.7 kB / 0.8318 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.3025, allocations: 92.03 kB / 0.8319 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.477e-05/0.3025, allocations: 15.81 kB / 0.8319 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.3026, allocations: 25.7 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3027, allocations: 326.8 kB / 0.8322 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.3029, allocations: 43.95 kB / 0.8323 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.3031, allocations: 44.27 kB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.3034, allocations: 108.9 kB / 0.8324 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3034, allocations: 0 / 0.8324 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004238/0.3039, allocations: 133.5 kB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.3039, allocations: 4 kB / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3039, allocations: 0 / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3039, allocations: 0 / 0.8325 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.3041, allocations: 31.97 kB / 0.8326 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3041, allocations: 0 / 0.8326 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3042, allocations: 19.91 kB / 0.8326 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.3043, allocations: 4 kB / 0.8326 GB, free: 11.33 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.361e-05/0.3044, allocations: 117.8 kB / 0.8327 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.747e-05/0.3045, allocations: 3.906 kB / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.3049, allocations: 161.9 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.309e-06/0.3049, allocations: 0 / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.305, allocations: 3.938 kB / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.305, allocations: 0 / 0.8329 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00022/0.3052, allocations: 201.5 kB / 0.8331 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3052, allocations: 0 / 0.8331 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.3054, allocations: 27.97 kB / 0.8331 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3054, allocations: 4 kB / 0.8331 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3054, allocations: 0 / 0.8331 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3054, allocations: 4 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3054, allocations: 4 kB / 0.8331 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.3059, allocations: 239.2 kB / 0.8333 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.097e-05/0.3059, allocations: 85.02 kB / 0.8334 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.306, allocations: 4 kB / 0.8334 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3061, allocations: 15.97 kB / 0.8334 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.3062, allocations: 19.98 kB / 0.8335 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.3062, allocations: 3.938 kB / 0.8335 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.672e-05/0.3063, allocations: 99.64 kB / 0.8336 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3063, allocations: 0 / 0.8336 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002293/0.3065, allocations: 16 kB / 0.8336 GB, free: 10.24 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001789/0.3067, allocations: 111.1 kB / 0.8337 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000446/0.3072, allocations: 107.8 kB / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3072, allocations: 0 / 0.8338 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.3074, allocations: 59.94 kB / 0.8338 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.3077, allocations: 14.66 kB / 0.8338 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005429/0.3083, allocations: 170.4 kB / 0.834 GB, free: 9.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3087, allocations: 0.696 MB / 0.8347 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.509e-05/0.3087, allocations: 12 kB / 0.8347 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.628e-05/0.3088, allocations: 23.42 kB / 0.8347 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.3088, allocations: 0 / 0.8347 GB, free: 8.992 MB / 0.6544 GB Notification: Performance of Templates: time 0.005076/0.3139, allocations: 1.587 MB / 0.8363 GB, free: 7.418 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)