Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.77/1.77, allocations: 292.3 MB / 308.1 MB, free: 4.34 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.0016/0.0016, allocations: 191.4 kB / 376.9 MB, free: 1.828 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.563/1.563, allocations: 205 MB / 0.6354 GB, free: 9.805 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.00105/0.001049, allocations: 98.09 kB / 0.748 GB, free: 61.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.001101, allocations: 55.91 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2726, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002432/0.2751, allocations: 0.6806 MB / 0.9829 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2762, allocations: 0.8282 MB / 0.9837 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.2763, allocations: 0 / 0.9837 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.3e-05/0.2763, allocations: 0 / 0.9837 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.83e-05/0.2765, allocations: 7.938 kB / 0.9837 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001619/0.2766, allocations: 15.92 kB / 0.9837 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.081e-05/0.2767, allocations: 23.98 kB / 0.9838 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2768, allocations: 11.98 kB / 0.9838 GB, free: 8.801 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.328e-05/0.2769, allocations: 11.92 kB / 0.9838 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.277, allocations: 8 kB / 0.9838 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.277, allocations: 4 kB / 0.9838 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.277, allocations: 4 kB / 0.9838 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.277, allocations: 3.984 kB / 0.9838 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.2771, allocations: 7.938 kB / 0.9838 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.206e-05/0.2772, allocations: 35.81 kB / 0.9838 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2772, allocations: 0 / 0.9838 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2772, allocations: 0 / 0.9838 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2772, allocations: 0 / 0.9838 GB, free: 8.727 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005524/0.2778, allocations: 335.7 kB / 0.9842 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.2778, allocations: 16.03 kB / 0.9842 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.2779, allocations: 0.9375 kB / 0.9842 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.278, allocations: 164.3 kB / 0.9843 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.278, allocations: 384 / 0.9843 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.278, allocations: 4.375 kB / 0.9843 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.2782, allocations: 58.22 kB / 0.9844 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2783, allocations: 192 / 0.9844 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.2783, allocations: 7.922 kB / 0.9844 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.2783, allocations: 0 / 0.9844 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.2785, allocations: 39.91 kB / 0.9844 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003938/0.2789, allocations: 245 kB / 0.9847 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.2791, allocations: 46.48 kB / 0.9847 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.162e-05/0.2792, allocations: 20.91 kB / 0.9847 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.2792, allocations: 8 kB / 0.9847 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2792, allocations: 30.56 kB / 0.9848 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.2792, allocations: 0 / 0.9848 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003978/0.2796, allocations: 89.56 kB / 0.9849 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.2797, allocations: 51.41 kB / 0.9849 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.812e-05/0.2798, allocations: 102 kB / 0.985 GB, free: 7.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.2798, allocations: 33.64 kB / 0.985 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.2799, allocations: 84.14 kB / 0.9851 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.2799, allocations: 7.891 kB / 0.9851 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.2799, allocations: 13.72 kB / 0.9851 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2801, allocations: 310.8 kB / 0.9854 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.853e-05/0.2802, allocations: 15.98 kB / 0.9854 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.177e-05/0.2803, allocations: 27.97 kB / 0.9855 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.2804, allocations: 36.83 kB / 0.9855 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2804, allocations: 7.875 kB / 0.9855 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000205/0.2807, allocations: 69.59 kB / 0.9856 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.2807, allocations: 4 kB / 0.9856 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2807, allocations: 4.094 kB / 0.9856 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2807, allocations: 3.984 kB / 0.9856 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.2808, allocations: 8 kB / 0.9856 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2808, allocations: 0 / 0.9856 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.2809, allocations: 15.98 kB / 0.9856 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.2809, allocations: 0 / 0.9856 GB, free: 6.676 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.141e-05/0.281, allocations: 113.8 kB / 0.9857 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.281, allocations: 0 / 0.9857 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.2811, allocations: 11.11 kB / 0.9857 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2811, allocations: 0 / 0.9857 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2811, allocations: 4 kB / 0.9857 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.2811, allocations: 0 / 0.9857 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.2813, allocations: 161.6 kB / 0.9859 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2813, allocations: 0 / 0.9859 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.049e-05/0.2814, allocations: 7.984 kB / 0.9859 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2814, allocations: 7.938 kB / 0.9859 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.2814, allocations: 0 / 0.9859 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2814, allocations: 0 / 0.9859 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2814, allocations: 4 kB / 0.9859 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005961/0.282, allocations: 0.7317 MB / 0.9866 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.282, allocations: 77.11 kB / 0.9867 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.2821, allocations: 4.031 kB / 0.9867 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.2822, allocations: 7.984 kB / 0.9867 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.666e-05/0.2822, allocations: 4 kB / 0.9867 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.2822, allocations: 3.938 kB / 0.9867 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.506e-05/0.2823, allocations: 91.2 kB / 0.9868 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2823, allocations: 0 / 0.9868 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003246/0.2826, allocations: 4 kB / 0.9868 GB, free: 5.32 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001194/0.2827, allocations: 99.19 kB / 0.9869 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.283, allocations: 43.95 kB / 0.9869 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.283, allocations: 0 / 0.9869 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.657e-05/0.2831, allocations: 23.92 kB / 0.987 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2834, allocations: 4 kB / 0.987 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004084/0.2838, allocations: 222.3 kB / 0.9872 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.2841, allocations: 0.6774 MB / 0.9878 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.312e-05/0.2842, allocations: 0 / 0.9878 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.503e-05/0.2842, allocations: 11.44 kB / 0.9879 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.2842, allocations: 3.938 kB / 0.9879 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of Templates: time 0.00261/0.2868, allocations: 0.5367 MB / 0.9884 GB, free: 3.637 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)