Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.752/1.752, allocations: 292.3 MB / 308.1 MB, free: 4.219 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.001535/0.001535, allocations: 194.4 kB / 376.9 MB, free: 1.75 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.861/1.861, allocations: 205 MB / 0.6354 GB, free: 9.742 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.0009455/0.0009457, allocations: 96.23 kB / 0.7479 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 48.11 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2722, allocations: 114.5 MB / 0.9822 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002134/0.2744, allocations: 0.7389 MB / 0.9829 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.2755, allocations: 0.8282 MB / 0.9838 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.2755, allocations: 0 / 0.9838 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.692e-05/0.2756, allocations: 3.938 kB / 0.9838 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.031e-05/0.2757, allocations: 3.984 kB / 0.9838 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.2758, allocations: 19.98 kB / 0.9838 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.2759, allocations: 39.92 kB / 0.9838 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2761, allocations: 15.94 kB / 0.9838 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.537e-05/0.2761, allocations: 19.97 kB / 0.9839 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.669e-05/0.2762, allocations: 23.91 kB / 0.9839 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.2763, allocations: 3.938 kB / 0.9839 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.246e-05/0.2763, allocations: 4 kB / 0.9839 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.2763, allocations: 11.92 kB / 0.9839 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.2763, allocations: 11.94 kB / 0.9839 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.863e-05/0.2764, allocations: 43.84 kB / 0.9839 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2764, allocations: 0 / 0.9839 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.566e-06/0.2765, allocations: 4 kB / 0.984 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2765, allocations: 3.938 kB / 0.984 GB, free: 8.543 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000534/0.277, allocations: 355.7 kB / 0.9843 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2771, allocations: 8.031 kB / 0.9843 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.2771, allocations: 12.83 kB / 0.9843 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.2772, allocations: 160.4 kB / 0.9845 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.2773, allocations: 4.375 kB / 0.9845 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.2773, allocations: 4.375 kB / 0.9845 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.2775, allocations: 70.22 kB / 0.9845 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2775, allocations: 192 / 0.9845 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2775, allocations: 3.938 kB / 0.9845 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.2775, allocations: 3.938 kB / 0.9846 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002067/0.2777, allocations: 51.94 kB / 0.9846 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.2782, allocations: 296.7 kB / 0.9849 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.2784, allocations: 58.55 kB / 0.9849 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.2785, allocations: 36.84 kB / 0.985 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.2785, allocations: 0 / 0.985 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.2785, allocations: 34.55 kB / 0.985 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2786, allocations: 4 kB / 0.985 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0004162/0.279, allocations: 105.6 kB / 0.9851 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.279, allocations: 51.41 kB / 0.9852 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.2791, allocations: 105.8 kB / 0.9853 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.2791, allocations: 25.7 kB / 0.9853 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.2792, allocations: 92.05 kB / 0.9854 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.2792, allocations: 7.891 kB / 0.9854 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.2793, allocations: 21.72 kB / 0.9854 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.2794, allocations: 318.8 kB / 0.9857 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.2795, allocations: 27.92 kB / 0.9857 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.846e-05/0.2796, allocations: 23.97 kB / 0.9858 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.2798, allocations: 52.75 kB / 0.9858 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2798, allocations: 4 kB / 0.9858 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002573/0.28, allocations: 85.56 kB / 0.9859 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2801, allocations: 4 kB / 0.9859 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.2801, allocations: 7.984 kB / 0.9859 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2801, allocations: 3.938 kB / 0.9859 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.2802, allocations: 12.23 kB / 0.9859 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2802, allocations: 3.938 kB / 0.9859 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.2803, allocations: 8 kB / 0.9859 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.2803, allocations: 7.984 kB / 0.9859 GB, free: 6.285 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.826e-05/0.2804, allocations: 117.8 kB / 0.986 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.2804, allocations: 0 / 0.986 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.2805, allocations: 7.906 kB / 0.9861 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2805, allocations: 0 / 0.9861 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2805, allocations: 0 / 0.9861 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2805, allocations: 3.938 kB / 0.9861 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.2807, allocations: 181.5 kB / 0.9862 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2807, allocations: 0 / 0.9862 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.864e-05/0.2808, allocations: 19.98 kB / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2808, allocations: 0 / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.2808, allocations: 0 / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2808, allocations: 0 / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2808, allocations: 0 / 0.9863 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/0.2814, allocations: 0.7551 MB / 0.987 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.2815, allocations: 89 kB / 0.9871 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.2815, allocations: 0 / 0.9871 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.2816, allocations: 4 kB / 0.9871 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.2817, allocations: 15.92 kB / 0.9871 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.2817, allocations: 3.984 kB / 0.9871 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.2817, allocations: 83.28 kB / 0.9872 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.2817, allocations: 0 / 0.9872 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000316/0.2821, allocations: 12 kB / 0.9872 GB, free: 4.859 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001152/0.2822, allocations: 99.56 kB / 0.9873 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.2824, allocations: 55.94 kB / 0.9873 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2824, allocations: 0 / 0.9873 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.2826, allocations: 36.05 kB / 0.9874 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.2829, allocations: 8 kB / 0.9874 GB, free: 4.656 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.2833, allocations: 248.5 kB / 0.9876 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.2835, allocations: 0.6848 MB / 0.9883 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.717e-05/0.2836, allocations: 12 kB / 0.9883 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.2836, allocations: 15.44 kB / 0.9883 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.2836, allocations: 0 / 0.9883 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of Templates: time 0.002699/0.2863, allocations: 0.7942 MB / 0.9891 GB, free: 2.852 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)