Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.759/2.759, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.001446/0.001446, allocations: 187.8 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.436/2.436, allocations: 205.4 MB / 0.6297 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008911/0.000891, allocations: 88.2 kB / 0.743 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006714/0.0006717, allocations: 12.22 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2223, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0009148/0.2233, allocations: 385.7 kB / 0.9787 GB, free: 28.01 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2244, allocations: 0.8244 MB / 0.9795 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.292e-05/0.2244, allocations: 0 / 0.9795 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.653e-05/0.2245, allocations: 3.938 kB / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.364e-05/0.2245, allocations: 0 / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.2247, allocations: 27.91 kB / 0.9796 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.017e-05/0.2248, allocations: 43.91 kB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2249, allocations: 7.938 kB / 0.9796 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.286e-05/0.225, allocations: 19.92 kB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.2251, allocations: 19.91 kB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.2251, allocations: 4 kB / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.568e-05/0.2251, allocations: 0 / 0.9797 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.889e-05/0.2252, allocations: 11.98 kB / 0.9797 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.2252, allocations: 25.7 kB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.977e-05/0.2253, allocations: 31.94 kB / 0.9797 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.2253, allocations: 7.922 kB / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2253, allocations: 0 / 0.9797 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.2253, allocations: 0 / 0.9797 GB, free: 26.96 MB / 0.6198 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.0005283/0.2258, allocations: 347.5 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2259, allocations: 8.031 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.226, allocations: 3.906 kB / 0.9801 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2261, allocations: 175 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.2261, allocations: 4 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.2262, allocations: 3.984 kB / 0.9802 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.2265, allocations: 85.61 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2265, allocations: 0 / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.2265, allocations: 0 / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2265, allocations: 0 / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.2269, allocations: 59.95 kB / 0.9804 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.2274, allocations: 288.7 kB / 0.9807 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.2277, allocations: 74.53 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.2279, allocations: 28.92 kB / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2279, allocations: 4 kB / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2279, allocations: 38.56 kB / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.254e-06/0.2279, allocations: 0 / 0.9808 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0006316/0.2286, allocations: 129.5 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.2286, allocations: 55.41 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/0.2287, allocations: 109.8 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.2287, allocations: 29.7 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.665e-05/0.2288, allocations: 84.14 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.2288, allocations: 11.75 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.2288, allocations: 0 / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.131e-05/0.2289, allocations: 318.8 kB / 0.9815 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.2291, allocations: 31.97 kB / 0.9815 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001629/0.2293, allocations: 27.97 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.2294, allocations: 27.98 kB / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2295, allocations: 0 / 0.9816 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003899/0.2299, allocations: 101.6 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2299, allocations: 4 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2299, allocations: 0 / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2299, allocations: 4 kB / 0.9817 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.2302, allocations: 11.98 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.2302, allocations: 8 kB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.2303, allocations: 11.94 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.2304, allocations: 0 / 0.9817 GB, free: 24.7 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.019e-05/0.2304, allocations: 113.8 kB / 0.9818 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.2305, allocations: 7.906 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.2305, allocations: 7.844 kB / 0.9818 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2305, allocations: 0 / 0.9818 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.2306, allocations: 7.984 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2306, allocations: 336 / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.2308, allocations: 185.6 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2308, allocations: 0 / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.2309, allocations: 15.92 kB / 0.982 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.231, allocations: 4 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.231, allocations: 3.984 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.231, allocations: 0 / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.231, allocations: 3.984 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.2314, allocations: 195.5 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.2315, allocations: 81.02 kB / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.2315, allocations: 0 / 0.9823 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.2316, allocations: 15.98 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.2317, allocations: 11.98 kB / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.2318, allocations: 0 / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.2318, allocations: 87.53 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.552e-06/0.2318, allocations: 0 / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002742/0.2321, allocations: 11.94 kB / 0.9824 GB, free: 23.87 MB / 0.6198 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 (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.0001016/0.2322, allocations: 99.23 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004086/0.2326, allocations: 67.89 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2326, allocations: 0 / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.2328, allocations: 35.97 kB / 0.9826 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.2332, allocations: 14.19 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.2336, allocations: 133.8 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.2338, allocations: 0.6809 MB / 0.9834 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.446e-05/0.2338, allocations: 15.94 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.2339, allocations: 11.44 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/0.2339, allocations: 0 / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of Templates: time 0.003444/0.2374, allocations: 0.7325 MB / 0.9842 GB, free: 22.03 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1)