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 2.928/2.928, allocations: 287.3 MB / 302.3 MB, free: 8.371 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.001557/0.001557, allocations: 192 kB / 370.8 MB, free: 10.85 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.137/2.137, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001189/0.001189, allocations: 97.14 kB / 0.7428 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004822/0.0004823, allocations: 13.2 kB / 0.8656 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2588, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001083/0.2599, allocations: 477.6 kB / 0.9787 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.2611, allocations: 0.8604 MB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.2612, allocations: 0 / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.2612, allocations: 3.938 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.2614, allocations: 4 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.2616, allocations: 35.89 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.2617, allocations: 51.88 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2618, allocations: 15.98 kB / 0.9796 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.149e-05/0.2619, allocations: 31.91 kB / 0.9796 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.262, allocations: 47.81 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.339e-05/0.2621, allocations: 0 / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.2621, allocations: 4 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.2621, allocations: 15.92 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.2622, allocations: 41.64 kB / 0.9797 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.2623, allocations: 55.84 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.2623, allocations: 0 / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2623, allocations: 0 / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.2623, allocations: 0 / 0.9798 GB, free: 26.71 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.0007418/0.2631, allocations: 391.3 kB / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.2631, allocations: 12.02 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.2632, allocations: 7.906 kB / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.2633, allocations: 182.9 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.2634, allocations: 0 / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.2634, allocations: 8 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.2639, allocations: 117.6 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2639, allocations: 3.938 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.2639, allocations: 0 / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.264, allocations: 4 kB / 0.9805 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.2646, allocations: 119.8 kB / 0.9806 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007051/0.2654, allocations: 348.7 kB / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.2665, allocations: 130.5 kB / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.471e-05/0.2665, allocations: 8 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.2666, allocations: 30.56 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.966e-06/0.2666, allocations: 0 / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.001148/0.2677, allocations: 225.6 kB / 0.9813 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.2678, allocations: 55.41 kB / 0.9814 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.2679, allocations: 125.7 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.268, allocations: 25.7 kB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.268, allocations: 96.12 kB / 0.9816 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.2681, allocations: 19.66 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/0.2681, allocations: 4 kB / 0.9816 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.134e-05/0.2682, allocations: 314.8 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.2685, allocations: 63.95 kB / 0.982 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.2688, allocations: 51.95 kB / 0.982 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.2692, allocations: 55.95 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.2692, allocations: 4 kB / 0.9821 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007429/0.27, allocations: 153.5 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.27, allocations: 4 kB / 0.9822 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.27, allocations: 3.938 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.27, allocations: 11.94 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.2704, allocations: 31.97 kB / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2704, allocations: 0 / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.2706, allocations: 15.98 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.2706, allocations: 4 kB / 0.9823 GB, free: 23.92 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.000106/0.2708, allocations: 109.8 kB / 0.9824 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.2708, allocations: 11.91 kB / 0.9824 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007892/0.2716, allocations: 181.9 kB / 0.9826 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.2716, allocations: 11.89 kB / 0.9826 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2717, allocations: 0 / 0.9826 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2717, allocations: 0 / 0.9826 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.2719, allocations: 197.5 kB / 0.9828 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.272, allocations: 7.984 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.2723, allocations: 31.97 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.2723, allocations: 0 / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.2723, allocations: 0 / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.2723, allocations: 0 / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.2723, allocations: 3.953 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007563/0.2731, allocations: 259.3 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.2732, allocations: 81.11 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.2732, allocations: 3.938 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.2735, allocations: 23.97 kB / 0.9832 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.2736, allocations: 23.97 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.2736, allocations: 3.953 kB / 0.9832 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.861e-05/0.2737, allocations: 99.64 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2737, allocations: 0 / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003308/0.2741, allocations: 19.91 kB / 0.9833 GB, free: 22.78 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.0001243/0.2742, allocations: 99.25 kB / 0.9834 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007391/0.275, allocations: 124.6 kB / 0.9835 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.275, allocations: 3.938 kB / 0.9835 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003648/0.2754, allocations: 71.89 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.2757, allocations: 11.98 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006441/0.2763, allocations: 189.2 kB / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.2765, allocations: 0.6965 MB / 0.9845 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.2767, allocations: 12.19 kB / 0.9845 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.2768, allocations: 19.42 kB / 0.9845 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.2768, allocations: 0 / 0.9845 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.004976/0.2818, allocations: 1.295 MB / 0.9858 GB, free: 20.21 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)