Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.386/2.386, allocations: 251.1 MB / 266.7 MB, free: 11.65 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001373/0.001373, allocations: 179.9 kB / 326.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.471/2.471, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009337/0.0009335, allocations: 88.2 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005218/0.0005219, allocations: 12 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2347, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.4617, allocations: 131.5 MB / 1.028 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.462, allocations: 75.95 kB / 1.028 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003959/0.466, allocations: 0.9434 MB / 1.029 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.595e-06/0.466, allocations: 0 / 1.029 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.4661, allocations: 0 / 1.029 GB, free: 12.92 MB / 0.6823 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.000581/0.4667, allocations: 351.4 kB / 1.029 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4667, allocations: 8.031 kB / 1.029 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.4668, allocations: 8.844 kB / 1.029 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.4669, allocations: 172.3 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.467, allocations: 8.375 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.467, allocations: 4.375 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.4673, allocations: 70.22 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-06/0.4673, allocations: 4.125 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.4674, allocations: 7.938 kB / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4674, allocations: 0 / 1.029 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.4677, allocations: 63.94 kB / 1.03 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005223/0.4683, allocations: 288.7 kB / 1.03 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.4686, allocations: 70.53 kB / 1.03 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.4688, allocations: 32.92 kB / 1.03 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.4689, allocations: 0 / 1.03 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.4689, allocations: 42.48 kB / 1.03 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.4689, allocations: 4 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.000689/0.4696, allocations: 121.6 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.4697, allocations: 55.41 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.4698, allocations: 109.8 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4698, allocations: 25.7 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.4699, allocations: 84.08 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.4699, allocations: 19.88 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.47, allocations: 0 / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4701, allocations: 314.8 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.4703, allocations: 31.98 kB / 1.031 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.4705, allocations: 27.97 kB / 1.031 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.4707, allocations: 31.92 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4707, allocations: 0 / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004385/0.4712, allocations: 101.9 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4712, allocations: 4 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4712, allocations: 3.984 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.4713, allocations: 0 / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.4715, allocations: 15.98 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.4715, allocations: 4 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.4716, allocations: 19.83 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.4716, allocations: 0 / 1.031 GB, free: 10.64 MB / 0.6823 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 (intToRea.u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.4718, allocations: 117.8 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.4718, allocations: 0 / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.841e-05/0.4719, allocations: 11.89 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4719, allocations: 0 / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4719, allocations: 4 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4719, allocations: 4 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.4722, allocations: 169.6 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4722, allocations: 0 / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.4723, allocations: 19.97 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4724, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.4724, allocations: 0 / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4724, allocations: 3.938 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4724, allocations: 4 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.4729, allocations: 191.4 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.473, allocations: 81.02 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.473, allocations: 8.25 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.4732, allocations: 11.98 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.4732, allocations: 11.98 kB / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.4733, allocations: 0 / 1.031 GB, free: 9.914 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.4733, allocations: 91.27 kB / 1.032 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4733, allocations: 3.938 kB / 1.032 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002915/0.4736, allocations: 8 kB / 1.032 GB, free: 9.812 MB / 0.6823 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 (intToRea.u) * 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 (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.0001508/0.4738, allocations: 107.2 kB / 1.032 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004307/0.4742, allocations: 71.88 kB / 1.032 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4743, allocations: 0 / 1.032 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.4745, allocations: 31.98 kB / 1.032 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.4749, allocations: 23.86 kB / 1.032 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.4753, allocations: 137.1 kB / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.4756, allocations: 0.677 MB / 1.033 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.928e-05/0.4757, allocations: 8 kB / 1.033 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.4758, allocations: 15.42 kB / 1.033 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of SimCode: time 2.925e-06/0.4758, allocations: 0 / 1.033 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of Templates: time 0.003734/0.4795, allocations: 0.7231 MB / 1.033 GB, free: 7.969 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)