Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.3 MB / 308.1 MB, free: 4.27 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.001769/0.00177, allocations: 184.5 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.1 MB / 0.6354 GB, free: 9.781 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.001056/0.001057, allocations: 92.02 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 59.92 kB / 0.8704 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3538, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.003257/0.3571, allocations: 0.8362 MB / 0.983 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.3587, allocations: 0.8632 MB / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.086e-05/0.3588, allocations: 0 / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.191e-05/0.3589, allocations: 3.984 kB / 0.9839 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.3591, allocations: 7.938 kB / 0.9839 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002594/0.3593, allocations: 35.95 kB / 0.9839 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3595, allocations: 83.77 kB / 0.984 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001665/0.3597, allocations: 24 kB / 0.984 GB, free: 8.484 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.3598, allocations: 39.83 kB / 0.9841 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.36, allocations: 43.83 kB / 0.9841 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.36, allocations: 8 kB / 0.9841 GB, free: 8.395 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.637e-05/0.3601, allocations: 4 kB / 0.9841 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.3601, allocations: 23.84 kB / 0.9841 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.018e-05/0.3602, allocations: 27.84 kB / 0.9842 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.3604, allocations: 79.73 kB / 0.9843 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3604, allocations: 4 kB / 0.9843 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.796e-06/0.3604, allocations: 0 / 0.9843 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.842e-06/0.3604, allocations: 3.938 kB / 0.9843 GB, free: 8.254 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.0008195/0.3612, allocations: 395.4 kB / 0.9846 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.3613, allocations: 8.031 kB / 0.9846 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/0.3613, allocations: 8.844 kB / 0.9847 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.3616, allocations: 180.2 kB / 0.9848 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.3616, allocations: 4.375 kB / 0.9848 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.3616, allocations: 8.375 kB / 0.9848 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.362, allocations: 110.1 kB / 0.9849 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.362, allocations: 192 / 0.9849 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.362, allocations: 7.938 kB / 0.9849 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.362, allocations: 4 kB / 0.985 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003901/0.3624, allocations: 103.9 kB / 0.9851 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.3631, allocations: 336.7 kB / 0.9854 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/0.3638, allocations: 122.5 kB / 0.9855 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.3641, allocations: 60.75 kB / 0.9855 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.3641, allocations: 7.969 kB / 0.9856 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3641, allocations: 30.56 kB / 0.9856 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.573e-06/0.3641, allocations: 0 / 0.9856 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0007668/0.3649, allocations: 189.4 kB / 0.9858 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.365, allocations: 51.41 kB / 0.9858 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.3651, allocations: 121.8 kB / 0.9859 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3652, allocations: 29.7 kB / 0.986 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3653, allocations: 92.08 kB / 0.986 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.3653, allocations: 27.7 kB / 0.9861 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/0.3654, allocations: 21.7 kB / 0.9861 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3656, allocations: 322.8 kB / 0.9864 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.3658, allocations: 47.89 kB / 0.9864 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.366, allocations: 43.95 kB / 0.9865 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.3663, allocations: 100.8 kB / 0.9866 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3664, allocations: 0 / 0.9866 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004502/0.3668, allocations: 141.4 kB / 0.9867 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3668, allocations: 4 kB / 0.9867 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3669, allocations: 4 kB / 0.9867 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.3669, allocations: 4 kB / 0.9867 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.3671, allocations: 27.97 kB / 0.9868 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3671, allocations: 0 / 0.9868 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.3672, allocations: 11.98 kB / 0.9868 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.3672, allocations: 0 / 0.9868 GB, free: 5.453 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 (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 0.0001473/0.3674, allocations: 125.8 kB / 0.9869 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.3674, allocations: 11.91 kB / 0.9869 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000506/0.3679, allocations: 149.8 kB / 0.987 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.368, allocations: 4 kB / 0.987 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.368, allocations: 4 kB / 0.9871 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.368, allocations: 0 / 0.9871 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.3682, allocations: 197.5 kB / 0.9872 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3682, allocations: 4 kB / 0.9872 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.3684, allocations: 27.97 kB / 0.9873 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3684, allocations: 4 kB / 0.9873 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.3684, allocations: 0 / 0.9873 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3684, allocations: 0 / 0.9873 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3684, allocations: 0 / 0.9873 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009788/0.3694, allocations: 0.8416 MB / 0.9881 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.3695, allocations: 89 kB / 0.9882 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.3695, allocations: 0 / 0.9882 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.3697, allocations: 15.92 kB / 0.9882 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.3698, allocations: 23.97 kB / 0.9882 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.3698, allocations: 7.938 kB / 0.9882 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.387e-05/0.3698, allocations: 95.2 kB / 0.9883 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.104e-06/0.3699, allocations: 0 / 0.9883 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003299/0.3702, allocations: 15.94 kB / 0.9883 GB, free: 3.707 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 (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.0001743/0.3704, allocations: 103.2 kB / 0.9884 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000463/0.3708, allocations: 108 kB / 0.9885 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3709, allocations: 0 / 0.9885 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.3711, allocations: 63.89 kB / 0.9886 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.3715, allocations: 15.56 kB / 0.9886 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.3721, allocations: 310.9 kB / 0.9889 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.3725, allocations: 0.6926 MB / 0.9896 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.418e-05/0.3725, allocations: 12 kB / 0.9896 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.297e-05/0.3726, allocations: 15.42 kB / 0.9896 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of SimCode: time 4.01e-07/0.3726, allocations: 0 / 0.9896 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of Templates: time 0.003946/0.3766, allocations: 1.4 MB / 0.991 GB, free: 0.9336 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)