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.626/1.626, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001068/0.001068, allocations: 179.5 kB / 371.6 MB, free: 3.441 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.621/1.621, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.001131/0.001131, allocations: 90.42 kB / 0.745 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.223e-05/4.226e-05, allocations: 4 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3268, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/1.409, allocations: 138.5 MB / 1.115 GB, free: 45.03 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/1.409, allocations: 73.02 kB / 1.115 GB, free: 45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002533/1.412, allocations: 0.6996 MB / 1.116 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.144e-06/1.412, allocations: 0 / 1.116 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.438e-06/1.412, allocations: 0.8438 kB / 1.116 GB, free: 44.48 MB / 0.7448 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.0003737/1.412, allocations: 337.6 kB / 1.116 GB, free: 44.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.412, allocations: 8.531 kB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/1.412, allocations: 8.312 kB / 1.116 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/1.413, allocations: 164.2 kB / 1.116 GB, free: 43.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/1.413, allocations: 4.5 kB / 1.116 GB, free: 43.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/1.413, allocations: 10.33 kB / 1.116 GB, free: 43.9 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/1.413, allocations: 37.66 kB / 1.116 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/1.413, allocations: 0 / 1.116 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/1.413, allocations: 0 / 1.116 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/1.413, allocations: 5.391 kB / 1.116 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.465e-05/1.413, allocations: 15.14 kB / 1.116 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/1.413, allocations: 258.7 kB / 1.117 GB, free: 43.58 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.275e-05/1.413, allocations: 26.39 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/1.413, allocations: 16.61 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/1.413, allocations: 3.562 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/1.413, allocations: 31.31 kB / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/1.413, allocations: 0 / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002011/1.414, allocations: 45.89 kB / 1.117 GB, free: 43.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/1.414, allocations: 51.41 kB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/1.414, allocations: 101 kB / 1.117 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/1.414, allocations: 25.7 kB / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/1.414, allocations: 80.95 kB / 1.117 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/1.414, allocations: 8.531 kB / 1.117 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/1.414, allocations: 4.688 kB / 1.117 GB, free: 43.17 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.265e-05/1.414, allocations: 318.7 kB / 1.117 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/1.414, allocations: 4 kB / 1.117 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.82e-05/1.414, allocations: 11.53 kB / 1.117 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.603e-05/1.414, allocations: 4 kB / 1.117 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.414, allocations: 0 / 1.117 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.048e-05/1.414, allocations: 45.45 kB / 1.117 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/1.414, allocations: 8.031 kB / 1.117 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.414, allocations: 4.094 kB / 1.117 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.414, allocations: 0 / 1.117 GB, free: 42.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/1.414, allocations: 12.08 kB / 1.117 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.414, allocations: 0 / 1.117 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.331e-05/1.415, allocations: 8.625 kB / 1.117 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/1.415, allocations: 10.91 kB / 1.117 GB, free: 42.77 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/1.415, allocations: 107.5 kB / 1.117 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/1.415, allocations: 8 kB / 1.117 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.442e-05/1.415, allocations: 3.125 kB / 1.117 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/1.415, allocations: 0 / 1.117 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.415, allocations: 0.625 kB / 1.117 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/1.415, allocations: 0.6562 kB / 1.117 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/1.415, allocations: 166.8 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/1.415, allocations: 0.6562 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-05/1.415, allocations: 12.17 kB / 1.118 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/1.415, allocations: 0 / 1.118 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/1.415, allocations: 4 kB / 1.118 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.415, allocations: 0 / 1.118 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.415, allocations: 0 / 1.118 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/1.415, allocations: 145.5 kB / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/1.415, allocations: 82.33 kB / 1.118 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/1.415, allocations: 4 kB / 1.118 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.409e-05/1.415, allocations: 11.97 kB / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/1.415, allocations: 10.69 kB / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/1.415, allocations: 0 / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.556e-05/1.415, allocations: 83.3 kB / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.415, allocations: 0 / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002089/1.416, allocations: 15.52 kB / 1.118 GB, free: 42.09 MB / 0.7448 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 () * 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 (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.0001275/1.416, allocations: 103.8 kB / 1.118 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.615e-05/1.416, allocations: 15.56 kB / 1.118 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.416, allocations: 4.062 kB / 1.118 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/1.416, allocations: 11.94 kB / 1.118 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/1.416, allocations: 6.062 kB / 1.118 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/1.416, allocations: 65.94 kB / 1.118 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/1.417, allocations: 0.6778 MB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.143e-05/1.417, allocations: 8.062 kB / 1.119 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/1.417, allocations: 10.91 kB / 1.119 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/1.417, allocations: 0 / 1.119 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of Templates: time 0.002998/1.42, allocations: 0.4913 MB / 1.119 GB, free: 40.91 MB / 0.7448 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)