Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.753/1.753, allocations: 288.4 MB / 303.7 MB, free: 8.82 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 164.6 kB / 372.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.4 MB / 0.631 GB, free: 14.45 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009906/0.0009908, allocations: 90.22 kB / 0.7444 GB, free: 63.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005079/0.000508, allocations: 19.98 kB / 0.8675 GB, free: 0.6992 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.36, allocations: 115.3 MB / 0.9801 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001372/0.3614, allocations: 481.5 kB / 0.9806 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.3632, allocations: 0.8595 MB / 0.9814 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.203e-05/0.3633, allocations: 0 / 0.9814 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.116e-05/0.3633, allocations: 3.938 kB / 0.9814 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.3635, allocations: 3.938 kB / 0.9814 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002961/0.3638, allocations: 31.97 kB / 0.9815 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.364, allocations: 75.81 kB / 0.9815 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000238/0.3643, allocations: 19.98 kB / 0.9816 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.3645, allocations: 35.91 kB / 0.9816 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.3646, allocations: 47.7 kB / 0.9816 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.3647, allocations: 4 kB / 0.9816 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.009e-05/0.3647, allocations: 0 / 0.9816 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.352e-05/0.3647, allocations: 19.92 kB / 0.9817 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.363e-05/0.3649, allocations: 57.55 kB / 0.9817 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.365, allocations: 59.84 kB / 0.9818 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.525e-05/0.365, allocations: 0 / 0.9818 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3651, allocations: 3.938 kB / 0.9818 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.794e-06/0.3651, allocations: 0 / 0.9818 GB, free: 11.5 MB / 0.7136 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.0009985/0.3661, allocations: 391.5 kB / 0.9822 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/0.3662, allocations: 8.031 kB / 0.9822 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.71e-05/0.3662, allocations: 12.83 kB / 0.9822 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.3666, allocations: 176.2 kB / 0.9823 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.3666, allocations: 4.375 kB / 0.9823 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.3667, allocations: 8.375 kB / 0.9824 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.3671, allocations: 114.2 kB / 0.9825 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3672, allocations: 192 / 0.9825 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.3672, allocations: 3.938 kB / 0.9825 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3672, allocations: 4 kB / 0.9825 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.3677, allocations: 123.8 kB / 0.9826 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.3687, allocations: 336.7 kB / 0.9829 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009131/0.3696, allocations: 138.5 kB / 0.983 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.3699, allocations: 68.78 kB / 0.9831 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.37, allocations: 0 / 0.9831 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.37, allocations: 38.56 kB / 0.9831 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.735e-06/0.37, allocations: 4 kB / 0.9831 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.001025/0.3711, allocations: 213.5 kB / 0.9834 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/0.3712, allocations: 55.34 kB / 0.9834 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3713, allocations: 121.8 kB / 0.9835 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.3714, allocations: 25.7 kB / 0.9835 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.3715, allocations: 107.9 kB / 0.9836 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.3715, allocations: 11.81 kB / 0.9837 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.3715, allocations: 0 / 0.9837 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3717, allocations: 326.8 kB / 0.984 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.372, allocations: 55.95 kB / 0.984 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.3722, allocations: 59.94 kB / 0.9841 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.3727, allocations: 116.8 kB / 0.9842 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3727, allocations: 0 / 0.9842 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005868/0.3733, allocations: 165.4 kB / 0.9844 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.3733, allocations: 4 kB / 0.9844 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3734, allocations: 0 / 0.9844 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.3734, allocations: 4 kB / 0.9844 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.3736, allocations: 31.91 kB / 0.9844 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.3737, allocations: 4 kB / 0.9844 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.3738, allocations: 23.89 kB / 0.9844 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3738, allocations: 3.984 kB / 0.9844 GB, free: 8.578 MB / 0.7136 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.y,reaToInt.y,reaToInt1.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.0001709/0.374, allocations: 133.7 kB / 0.9845 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.454e-05/0.3741, allocations: 4 kB / 0.9846 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006927/0.3748, allocations: 173.8 kB / 0.9847 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3748, allocations: 0 / 0.9847 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3748, allocations: 0 / 0.9847 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3748, allocations: 3.984 kB / 0.9847 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.3752, allocations: 205.5 kB / 0.9849 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3752, allocations: 0 / 0.9849 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.3754, allocations: 31.97 kB / 0.9849 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3754, allocations: 0 / 0.9849 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3754, allocations: 7.984 kB / 0.985 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3754, allocations: 0 / 0.985 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3755, allocations: 0 / 0.985 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/0.3761, allocations: 259.3 kB / 0.9852 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.3762, allocations: 81.02 kB / 0.9853 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.3762, allocations: 8 kB / 0.9853 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.3764, allocations: 19.92 kB / 0.9853 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.3765, allocations: 19.97 kB / 0.9853 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.3766, allocations: 4 kB / 0.9853 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.799e-05/0.3767, allocations: 91.27 kB / 0.9854 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3767, allocations: 0 / 0.9854 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003759/0.377, allocations: 16 kB / 0.9854 GB, free: 7.441 MB / 0.7136 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 (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.0001922/0.3773, allocations: 107.2 kB / 0.9855 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005914/0.3779, allocations: 132.6 kB / 0.9857 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3779, allocations: 0 / 0.9857 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003063/0.3782, allocations: 71.88 kB / 0.9857 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.3787, allocations: 12 kB / 0.9857 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005844/0.3793, allocations: 189.2 kB / 0.9859 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.3796, allocations: 0.6984 MB / 0.9866 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001061/0.3797, allocations: 4 kB / 0.9866 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.991e-05/0.3798, allocations: 23.42 kB / 0.9866 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.3799, allocations: 0 / 0.9866 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of Templates: time 0.004678/0.3845, allocations: 1.316 MB / 0.9879 GB, free: 4.848 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)