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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.321/1.321, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009653/0.0009654, allocations: 176.2 kB / 327.6 MB, free: 2.172 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000701/0.0007013, allocations: 101.5 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 14.81 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2203, allocations: 106.3 MB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.39, allocations: 131.8 MB / 1.03 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.3903, allocations: 75.95 kB / 1.03 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004455/0.3948, allocations: 1.463 MB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3948, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3949, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 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.000523/0.3954, allocations: 391.3 kB / 1.032 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3954, allocations: 8.031 kB / 1.032 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.3955, allocations: 8.844 kB / 1.032 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3956, allocations: 184.2 kB / 1.032 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.3956, allocations: 4.375 kB / 1.032 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.3957, allocations: 8.375 kB / 1.032 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.396, allocations: 118.1 kB / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.396, allocations: 4.188 kB / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.396, allocations: 3.938 kB / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.396, allocations: 4 kB / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003377/0.3964, allocations: 119.9 kB / 1.032 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.3969, allocations: 348.6 kB / 1.033 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/0.3974, allocations: 126.6 kB / 1.033 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.3976, allocations: 64.81 kB / 1.033 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.3977, allocations: 0 / 1.033 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.3977, allocations: 38.56 kB / 1.033 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3977, allocations: 4 kB / 1.033 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006304/0.3983, allocations: 217.6 kB / 1.033 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3984, allocations: 51.41 kB / 1.033 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.422e-05/0.3985, allocations: 121.8 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.3985, allocations: 25.7 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.3986, allocations: 107.9 kB / 1.033 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.3986, allocations: 15.78 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.3986, allocations: 7.938 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3987, allocations: 320.4 kB / 1.034 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.3989, allocations: 51.95 kB / 1.034 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.3991, allocations: 68.02 kB / 1.034 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.3994, allocations: 116.8 kB / 1.034 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3994, allocations: 3.938 kB / 1.034 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000378/0.3998, allocations: 157.5 kB / 1.034 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3998, allocations: 7.984 kB / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3998, allocations: 0 / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3999, allocations: 4 kB / 1.034 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.4, allocations: 27.97 kB / 1.034 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.4, allocations: 4 kB / 1.034 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.4002, allocations: 19.98 kB / 1.034 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.4002, allocations: 0 / 1.034 GB, free: 7.211 MB / 0.6823 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 (max1.u1,max1.u2,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.4003, allocations: 121.8 kB / 1.034 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.347e-05/0.4003, allocations: 11.89 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.4008, allocations: 173.9 kB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.4008, allocations: 3.984 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4008, allocations: 0 / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4008, allocations: 0 / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.401, allocations: 205.5 kB / 1.035 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4011, allocations: 3.938 kB / 1.035 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.4012, allocations: 31.97 kB / 1.035 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/0.4012, allocations: 4 kB / 1.035 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4012, allocations: 4 kB / 1.035 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4012, allocations: 0 / 1.035 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4013, allocations: 0 / 1.035 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.4017, allocations: 259.3 kB / 1.035 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.4018, allocations: 88.94 kB / 1.035 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.4018, allocations: 12 kB / 1.035 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.4019, allocations: 15.98 kB / 1.035 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.402, allocations: 15.97 kB / 1.035 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.402, allocations: 4 kB / 1.035 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.537e-05/0.4021, allocations: 95.27 kB / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4021, allocations: 0 / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002295/0.4023, allocations: 16 kB / 1.035 GB, free: 6.066 MB / 0.6823 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.u1,max1.u2,max1.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 (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.0001642/0.4025, allocations: 111.2 kB / 1.035 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004421/0.4029, allocations: 127.8 kB / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.403, allocations: 0 / 1.035 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.4032, allocations: 71.94 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.4035, allocations: 17.66 kB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.404, allocations: 194.1 kB / 1.036 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.4042, allocations: 0.6965 MB / 1.036 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.848e-05/0.4043, allocations: 4 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.194e-05/0.4044, allocations: 23.42 kB / 1.036 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/0.4044, allocations: 4 kB / 1.036 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of Templates: time 0.003684/0.4081, allocations: 1.301 MB / 1.038 GB, free: 3.469 MB / 0.6823 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)