Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009937/0.0009937, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007355/0.007355, allocations: 170.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.7 MB / 0.5502 GB, free: 14.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005105/0.0005106, allocations: 20.59 kB / 0.6743 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2167, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0008187/0.2176, allocations: 335.5 kB / 0.7882 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000307/0.2179, allocations: 75.77 kB / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.354e-05/0.218, allocations: 0 / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.218, allocations: 0 / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.164e-06/0.218, allocations: 0 / 0.7883 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.2182, allocations: 19.92 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.257e-05/0.2183, allocations: 4 kB / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.2183, allocations: 3.984 kB / 0.7883 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.2184, allocations: 11.92 kB / 0.7883 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.283e-05/0.2184, allocations: 8 kB / 0.7883 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.2185, allocations: 0 / 0.7883 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.59e-05/0.2185, allocations: 11.98 kB / 0.7883 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.2186, allocations: 8 kB / 0.7883 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.2186, allocations: 41.61 kB / 0.7884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.697e-05/0.2187, allocations: 15.98 kB / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2187, allocations: 0 / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2187, allocations: 0 / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.2187, allocations: 0 / 0.7884 GB, free: 11.03 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003166/0.219, allocations: 315.6 kB / 0.7887 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2191, allocations: 12.03 kB / 0.7887 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.2191, allocations: 0.9375 kB / 0.7887 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.201e-05/0.2192, allocations: 168.3 kB / 0.7889 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.2192, allocations: 384 / 0.7889 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.2193, allocations: 12.31 kB / 0.7889 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.2194, allocations: 70.53 kB / 0.789 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.2194, allocations: 192 / 0.789 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2195, allocations: 7.875 kB / 0.789 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2195, allocations: 4 kB / 0.789 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.807e-05/0.2195, allocations: 11.94 kB / 0.789 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.2197, allocations: 189.2 kB / 0.7892 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.916e-05/0.2198, allocations: 101.1 kB / 0.7893 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.97e-05/0.2198, allocations: 36.42 kB / 0.7893 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.22, allocations: 85.03 kB / 0.7894 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.2201, allocations: 46.55 kB / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2201, allocations: 0 / 0.7894 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5): time 0.0001922/0.2203, allocations: 69.5 kB / 0.7895 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.2203, allocations: 158.2 kB / 0.7896 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.376e-05/0.2204, allocations: 94.48 kB / 0.7897 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.2204, allocations: 33.7 kB / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.474e-05/0.2204, allocations: 84.12 kB / 0.7898 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.2205, allocations: 7.812 kB / 0.7898 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.2205, allocations: 17.72 kB / 0.7899 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.2206, allocations: 310.8 kB / 0.7902 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.2206, allocations: 7.984 kB / 0.7902 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.2207, allocations: 32.3 kB / 0.7902 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.243e-05/0.2207, allocations: 48.23 kB / 0.7902 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2208, allocations: 3.984 kB / 0.7902 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001048/0.2209, allocations: 65.59 kB / 0.7903 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2209, allocations: 8 kB / 0.7903 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2209, allocations: 0 / 0.7903 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2209, allocations: 3.938 kB / 0.7903 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.221, allocations: 11.98 kB / 0.7903 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.221, allocations: 4 kB / 0.7903 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.2211, allocations: 4 kB / 0.7903 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.2211, allocations: 4 kB / 0.7903 GB, free: 8.668 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.284e-05/0.2212, allocations: 113.9 kB / 0.7904 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.2212, allocations: 7.906 kB / 0.7905 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.2214, allocations: 112.6 kB / 0.7906 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.2214, allocations: 7.984 kB / 0.7906 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2214, allocations: 4.156 kB / 0.7906 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2214, allocations: 4 kB / 0.7906 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.2216, allocations: 161.7 kB / 0.7907 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2216, allocations: 0 / 0.7907 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.158e-05/0.2216, allocations: 15.98 kB / 0.7907 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2216, allocations: 7.938 kB / 0.7908 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2217, allocations: 3.938 kB / 0.7908 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.2217, allocations: 4 kB / 0.7908 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2217, allocations: 0 / 0.7908 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.2218, allocations: 132.3 kB / 0.7909 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.2219, allocations: 81.11 kB / 0.791 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.2219, allocations: 7.938 kB / 0.791 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.752e-05/0.2219, allocations: 0 / 0.791 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.133e-05/0.2219, allocations: 15.98 kB / 0.791 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.2219, allocations: 4 kB / 0.791 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.208e-05/0.222, allocations: 75.28 kB / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.222, allocations: 0 / 0.7911 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002077/0.2222, allocations: 8 kB / 0.7911 GB, free: 7.797 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.000171/0.2224, allocations: 118.3 kB / 0.7912 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.2225, allocations: 32.11 kB / 0.7912 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2225, allocations: 4.125 kB / 0.7912 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.438e-05/0.2225, allocations: 27.92 kB / 0.7912 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.2227, allocations: 11.88 kB / 0.7913 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.223, allocations: 166.4 kB / 0.7914 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.2232, allocations: 0.6731 MB / 0.7921 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.708e-05/0.2232, allocations: 15.98 kB / 0.7921 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.2233, allocations: 11.44 kB / 0.7921 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of SimCode: time 4e-07/0.2233, allocations: 0 / 0.7921 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of Templates: time 0.002873/0.2262, allocations: 0.5446 MB / 0.7926 GB, free: 6.129 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) Environment - environmentSimulation: