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.006122/0.006121, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001196/0.001196, allocations: 201.9 kB / 16.68 MB, free: 5.977 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.705/1.705, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.667/1.667, allocations: 251.7 MB / 0.5094 GB, free: 3.078 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.001456/0.001456, allocations: 75.89 kB / 0.7258 GB, free: 9.023 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2187, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002597/0.2213, allocations: 1.484 MB / 0.8295 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004618/0.2218, allocations: 188.2 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.2219, allocations: 11.94 kB / 0.8297 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.723e-05/0.2219, allocations: 11.86 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.949e-05/0.222, allocations: 3.938 kB / 0.8297 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.2222, allocations: 47.88 kB / 0.8297 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.2223, allocations: 75.83 kB / 0.8298 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2225, allocations: 31.92 kB / 0.8298 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-05/0.2226, allocations: 43.83 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.202e-05/0.2227, allocations: 47.83 kB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.2227, allocations: 8 kB / 0.8299 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.743e-05/0.2227, allocations: 8 kB / 0.83 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.2228, allocations: 23.91 kB / 0.83 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.017e-05/0.2228, allocations: 35.8 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000146/0.223, allocations: 79.72 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.223, allocations: 0 / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.485e-05/0.223, allocations: 0 / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.223, allocations: 4 kB / 0.8301 GB, free: 14.11 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.0006892/0.2237, allocations: 391.3 kB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.2238, allocations: 15.97 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.2238, allocations: 8.844 kB / 0.8305 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.2239, allocations: 172.2 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.224, allocations: 8.375 kB / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.224, allocations: 384 / 0.8307 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.2243, allocations: 110.2 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2243, allocations: 192 / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.2243, allocations: 3.938 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2244, allocations: 4 kB / 0.8308 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003836/0.2247, allocations: 105.3 kB / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.2253, allocations: 344.6 kB / 0.8312 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/0.2259, allocations: 122.5 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.2261, allocations: 56.81 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.2261, allocations: 4 kB / 0.8314 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.2262, allocations: 30.56 kB / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2262, allocations: 0 / 0.8314 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0006587/0.2268, allocations: 185.4 kB / 0.8316 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2269, allocations: 55.41 kB / 0.8316 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.174e-05/0.227, allocations: 125.7 kB / 0.8318 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.227, allocations: 25.7 kB / 0.8318 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.534e-05/0.2271, allocations: 100 kB / 0.8319 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.2271, allocations: 15.81 kB / 0.8319 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.2272, allocations: 21.7 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2273, allocations: 322.8 kB / 0.8322 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.2275, allocations: 51.95 kB / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.2276, allocations: 52.19 kB / 0.8323 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.228, allocations: 88.78 kB / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.228, allocations: 0 / 0.8324 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004125/0.2284, allocations: 145.5 kB / 0.8325 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.2285, allocations: 4 kB / 0.8325 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2285, allocations: 4 kB / 0.8325 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2285, allocations: 7.938 kB / 0.8326 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.2287, allocations: 23.97 kB / 0.8326 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2287, allocations: 0 / 0.8326 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.2288, allocations: 27.91 kB / 0.8326 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.2288, allocations: 0 / 0.8326 GB, free: 11.3 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.375e-05/0.2289, allocations: 117.8 kB / 0.8327 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.229, allocations: 7.906 kB / 0.8327 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004729/0.2294, allocations: 157.8 kB / 0.8329 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2295, allocations: 4 kB / 0.8329 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.2295, allocations: 0 / 0.8329 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2295, allocations: 0 / 0.8329 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.2297, allocations: 197.5 kB / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2297, allocations: 0 / 0.8331 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.2299, allocations: 27.97 kB / 0.8331 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2299, allocations: 3.984 kB / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.2299, allocations: 4 kB / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2299, allocations: 0 / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2299, allocations: 4 kB / 0.8331 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004559/0.2304, allocations: 231.3 kB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.2304, allocations: 85.02 kB / 0.8334 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.2304, allocations: 0 / 0.8334 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.2306, allocations: 23.92 kB / 0.8334 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.2307, allocations: 19.97 kB / 0.8334 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.2307, allocations: 4 kB / 0.8335 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.659e-05/0.2308, allocations: 99.64 kB / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.2308, allocations: 0 / 0.8335 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002463/0.231, allocations: 12 kB / 0.8336 GB, free: 10.23 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.000193/0.2312, allocations: 111.1 kB / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004508/0.2317, allocations: 99.91 kB / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2317, allocations: 0 / 0.8338 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.2319, allocations: 67.88 kB / 0.8338 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.2323, allocations: 13.22 kB / 0.8338 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.2328, allocations: 179.1 kB / 0.834 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.2332, allocations: 0.7038 MB / 0.8347 GB, free: 9 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.314e-05/0.2332, allocations: 12 kB / 0.8347 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.2333, allocations: 19.42 kB / 0.8347 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.2333, allocations: 0 / 0.8347 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of Templates: time 0.00416/0.2375, allocations: 1.588 MB / 0.8363 GB, free: 7.391 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)