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.572/1.572, allocations: 289.9 MB / 297.4 MB, free: 6.422 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.001115/0.001115, allocations: 168.8 kB / 366.7 MB, free: 1.688 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.775/1.775, allocations: 205.2 MB / 0.626 GB, free: 7.203 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.0008565/0.0008566, allocations: 79.28 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.068e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7311/0.7312, allocations: 116.3 MB / 0.9733 GB, free: 76.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.927, allocations: 137.8 MB / 1.108 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/0.9273, allocations: 72.48 kB / 1.108 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001739/0.929, allocations: 0.7108 MB / 1.109 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.272e-06/0.929, allocations: 0.5312 kB / 1.109 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.929, allocations: 1.469 kB / 1.109 GB, free: 11.7 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.0003456/0.9294, allocations: 331.1 kB / 1.109 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.9294, allocations: 8.531 kB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.9295, allocations: 4 kB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.9296, allocations: 168.2 kB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.9296, allocations: 2.375 kB / 1.109 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.327e-05/0.9297, allocations: 4 kB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.966e-05/0.9297, allocations: 12.47 kB / 1.109 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.957e-05/0.9298, allocations: 42.22 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.9298, allocations: 4.547 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.9298, allocations: 0 / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.9299, allocations: 4.516 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.9302, allocations: 227.2 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.611e-05/0.9302, allocations: 27.17 kB / 1.109 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.745e-05/0.9303, allocations: 17.58 kB / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.9303, allocations: 0 / 1.109 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.9303, allocations: 35.91 kB / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.9303, allocations: 0 / 1.109 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001638/0.9305, allocations: 42.45 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.995e-05/0.9305, allocations: 52 kB / 1.11 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.042e-05/0.9306, allocations: 97.55 kB / 1.11 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.9306, allocations: 25.7 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.601e-05/0.9307, allocations: 80.73 kB / 1.11 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.9307, allocations: 7.75 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.9307, allocations: 0.5312 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.9308, allocations: 319.7 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.9308, allocations: 1.594 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.217e-05/0.9309, allocations: 8.5 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.9309, allocations: 12.47 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.9309, allocations: 0.6562 kB / 1.11 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.109e-05/0.931, allocations: 46.48 kB / 1.11 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.931, allocations: 4 kB / 1.11 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.931, allocations: 1.312 kB / 1.11 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.931, allocations: 0 / 1.11 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.9311, allocations: 17.45 kB / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.9311, allocations: 0 / 1.11 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.597e-05/0.9312, allocations: 7.984 kB / 1.11 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.9312, allocations: 2.594 kB / 1.11 GB, free: 9.945 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 () * 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 6.818e-05/0.9313, allocations: 112.9 kB / 1.11 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.9313, allocations: 0 / 1.11 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.062e-05/0.9313, allocations: 3.75 kB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.9313, allocations: 0 / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.9314, allocations: 6.125 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.9314, allocations: 1.781 kB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.9315, allocations: 140.5 kB / 1.11 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.9315, allocations: 0 / 1.11 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.9316, allocations: 11.98 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.9316, allocations: 4.672 kB / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.9316, allocations: 0 / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.9316, allocations: 0.7188 kB / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.9316, allocations: 2.031 kB / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.9318, allocations: 149.2 kB / 1.111 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.9318, allocations: 81.27 kB / 1.111 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.9318, allocations: 7.953 kB / 1.111 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.9319, allocations: 11.98 kB / 1.111 GB, free: 9.352 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.932, allocations: 4 kB / 1.111 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.932, allocations: 3.984 kB / 1.111 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.372e-05/0.932, allocations: 79.28 kB / 1.111 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.932, allocations: 0 / 1.111 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002017/0.9322, allocations: 8 kB / 1.111 GB, free: 9.258 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 () * 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.000126/0.9324, allocations: 111.2 kB / 1.111 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.85e-05/0.9324, allocations: 15.94 kB / 1.111 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.9325, allocations: 5.312 kB / 1.111 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.9325, allocations: 7.984 kB / 1.111 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/0.9327, allocations: 8 kB / 1.111 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.9329, allocations: 52 kB / 1.111 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.9332, allocations: 0.6808 MB / 1.112 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.9332, allocations: 4 kB / 1.112 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.9332, allocations: 7.438 kB / 1.112 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9332, allocations: 4 kB / 1.112 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of Templates: time 0.002161/0.9354, allocations: 482 kB / 1.112 GB, free: 7.871 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)