Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.236/3.236, allocations: 287.5 MB / 302.4 MB, free: 8.281 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.001382/0.001382, allocations: 189.5 kB / 371 MB, free: 10.86 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.177/2.177, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009928/0.0009925, allocations: 85.55 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006493/0.0006499, allocations: 13.36 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2484, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001498/0.2499, allocations: 481.5 kB / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.2516, allocations: 0.8603 MB / 0.9797 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.902e-05/0.2518, allocations: 0 / 0.9797 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.2519, allocations: 7.922 kB / 0.9797 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.252, allocations: 7.938 kB / 0.9797 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.2523, allocations: 27.97 kB / 0.9797 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.2525, allocations: 79.81 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.2527, allocations: 19.98 kB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.2528, allocations: 27.86 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.253, allocations: 43.81 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.253, allocations: 4 kB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.939e-05/0.2531, allocations: 4 kB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.18e-05/0.2531, allocations: 15.92 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.467e-05/0.2532, allocations: 33.7 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.2533, allocations: 59.84 kB / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2534, allocations: 0 / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.136e-06/0.2534, allocations: 0 / 0.98 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2534, allocations: 0 / 0.98 GB, free: 26.7 MB / 0.6198 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.001044/0.2544, allocations: 395.3 kB / 0.9804 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.2545, allocations: 12.02 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.2546, allocations: 7.906 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.2548, allocations: 182.8 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.2548, allocations: 4 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.2549, allocations: 8 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006988/0.2556, allocations: 113.6 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.2557, allocations: 0 / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.2557, allocations: 3.938 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.2557, allocations: 0 / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.2568, allocations: 123.9 kB / 0.9808 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007428/0.2575, allocations: 348.6 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.2586, allocations: 126.6 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.259, allocations: 72.75 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.259, allocations: 0 / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.259, allocations: 34.55 kB / 0.9814 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.259, allocations: 4 kB / 0.9814 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001118/0.2602, allocations: 213.5 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.2602, allocations: 55.41 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.2603, allocations: 121.7 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2604, allocations: 29.7 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.2604, allocations: 92.14 kB / 0.9818 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.2605, allocations: 23.64 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.2605, allocations: 7.938 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.2606, allocations: 314.8 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.2609, allocations: 59.89 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.2613, allocations: 59.95 kB / 0.9823 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.2616, allocations: 55.95 kB / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2616, allocations: 0 / 0.9823 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007303/0.2624, allocations: 161.5 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.2624, allocations: 4 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2624, allocations: 4.5 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2624, allocations: 0 / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.2628, allocations: 27.97 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2628, allocations: 4 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.263, allocations: 23.98 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.263, allocations: 3.984 kB / 0.9826 GB, free: 23.84 MB / 0.6198 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.0001018/0.2631, allocations: 121.7 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.2632, allocations: 7.906 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007868/0.264, allocations: 177.9 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.264, allocations: 11.94 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.264, allocations: 0 / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.264, allocations: 3.984 kB / 0.9829 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.2643, allocations: 197.6 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2643, allocations: 0 / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.2646, allocations: 31.91 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.2646, allocations: 0 / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2646, allocations: 7.984 kB / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.2646, allocations: 0 / 0.9831 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2647, allocations: 7.953 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/0.2654, allocations: 259.3 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.2655, allocations: 77.11 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.2655, allocations: 4 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.2658, allocations: 15.98 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.2659, allocations: 23.92 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.2659, allocations: 8 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.015e-05/0.266, allocations: 91.27 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.266, allocations: 0 / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003038/0.2663, allocations: 19.91 kB / 0.9836 GB, free: 22.7 MB / 0.6198 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.0001213/0.2665, allocations: 103.2 kB / 0.9837 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007198/0.2672, allocations: 119.9 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2672, allocations: 0 / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003635/0.2676, allocations: 83.88 kB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.268, allocations: 11.94 kB / 0.9839 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00056/0.2686, allocations: 194 kB / 0.9841 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.2687, allocations: 0.6887 MB / 0.9847 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001279/0.2689, allocations: 12.19 kB / 0.9848 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.269, allocations: 15.42 kB / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.269, allocations: 0 / 0.9848 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.004872/0.2739, allocations: 1.303 MB / 0.986 GB, free: 20.11 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1)