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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.547/1.547, allocations: 292.3 MB / 308.1 MB, free: 4.32 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.001187/0.001187, allocations: 194.3 kB / 376.9 MB, free: 1.855 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.361/1.361, allocations: 205 MB / 0.6353 GB, free: 9.805 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.001212/0.001212, allocations: 97 kB / 0.748 GB, free: 61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001032/0.001032, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2376, allocations: 114.6 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001898/0.2396, allocations: 0.6665 MB / 0.9829 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000321/0.2399, allocations: 67.77 kB / 0.9829 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.291e-05/0.24, allocations: 3.938 kB / 0.9829 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.24, allocations: 0 / 0.9829 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.564e-06/0.24, allocations: 3.938 kB / 0.983 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002411/0.2403, allocations: 19.97 kB / 0.983 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.386e-05/0.2403, allocations: 8 kB / 0.983 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.2404, allocations: 0 / 0.983 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.665e-05/0.2404, allocations: 11.98 kB / 0.983 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.2405, allocations: 11.92 kB / 0.983 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.2405, allocations: 4 kB / 0.983 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.82e-05/0.2406, allocations: 19.98 kB / 0.983 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.2406, allocations: 0 / 0.983 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.2406, allocations: 7.984 kB / 0.983 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.762e-05/0.2407, allocations: 19.91 kB / 0.983 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2407, allocations: 0 / 0.983 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2407, allocations: 0 / 0.983 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.2407, allocations: 0 / 0.983 GB, free: 9.539 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003913/0.2411, allocations: 327.6 kB / 0.9834 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2412, allocations: 12.03 kB / 0.9834 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.2412, allocations: 4.844 kB / 0.9834 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2413, allocations: 168.3 kB / 0.9835 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2414, allocations: 8.312 kB / 0.9835 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.2414, allocations: 384 / 0.9835 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.2415, allocations: 70.55 kB / 0.9836 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2415, allocations: 8.172 kB / 0.9836 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.2415, allocations: 7.938 kB / 0.9836 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.2416, allocations: 4 kB / 0.9836 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.044e-05/0.2416, allocations: 15.86 kB / 0.9836 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001841/0.2418, allocations: 177.5 kB / 0.9838 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.345e-05/0.2419, allocations: 101.1 kB / 0.9839 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.2419, allocations: 32.3 kB / 0.9839 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.2421, allocations: 89.09 kB / 0.984 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.2422, allocations: 34.56 kB / 0.9841 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.2422, allocations: 0 / 0.9841 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0001969/0.2424, allocations: 77.48 kB / 0.9841 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/0.2425, allocations: 166.8 kB / 0.9843 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.469e-05/0.2425, allocations: 89.86 kB / 0.9844 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.2425, allocations: 29.64 kB / 0.9844 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.2426, allocations: 80.14 kB / 0.9845 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.2426, allocations: 19.8 kB / 0.9845 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.2427, allocations: 21.7 kB / 0.9845 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2428, allocations: 310.8 kB / 0.9848 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.2428, allocations: 4 kB / 0.9848 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.29e-05/0.2428, allocations: 40.28 kB / 0.9849 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.416e-05/0.2429, allocations: 44.23 kB / 0.9849 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2429, allocations: 4 kB / 0.9849 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.525e-05/0.243, allocations: 61.56 kB / 0.985 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.243, allocations: 8 kB / 0.985 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.243, allocations: 4.109 kB / 0.985 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.2431, allocations: 7.938 kB / 0.985 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.127e-05/0.2431, allocations: 8 kB / 0.985 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.2431, allocations: 7.938 kB / 0.985 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.09e-05/0.2432, allocations: 7.906 kB / 0.985 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.2432, allocations: 8.156 kB / 0.985 GB, free: 7.148 MB / 0.7136 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.569e-05/0.2433, allocations: 117.8 kB / 0.9851 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.2433, allocations: 0 / 0.9851 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.2435, allocations: 108.6 kB / 0.9852 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2435, allocations: 4 kB / 0.9852 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.2435, allocations: 0 / 0.9852 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2435, allocations: 4 kB / 0.9852 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.2437, allocations: 161.7 kB / 0.9854 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2437, allocations: 0 / 0.9854 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.754e-05/0.2437, allocations: 19.92 kB / 0.9854 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2437, allocations: 7.938 kB / 0.9854 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.2438, allocations: 3.938 kB / 0.9854 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2438, allocations: 4 kB / 0.9854 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2438, allocations: 128 / 0.9854 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.2441, allocations: 0.678 MB / 0.9861 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.2442, allocations: 89.09 kB / 0.9862 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2442, allocations: 8 kB / 0.9862 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.885e-05/0.2442, allocations: 4 kB / 0.9862 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.2443, allocations: 4 kB / 0.9862 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2443, allocations: 4 kB / 0.9862 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.266e-05/0.2443, allocations: 79.22 kB / 0.9863 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.2443, allocations: 0 / 0.9863 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002881/0.2446, allocations: 15.92 kB / 0.9863 GB, free: 5.695 MB / 0.7136 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.0001678/0.2448, allocations: 107.2 kB / 0.9864 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.2449, allocations: 31.92 kB / 0.9864 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2449, allocations: 4 kB / 0.9864 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.245, allocations: 27.92 kB / 0.9865 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.2451, allocations: 11.94 kB / 0.9865 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.2456, allocations: 273.6 kB / 0.9867 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.2459, allocations: 0.6809 MB / 0.9874 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.042e-05/0.246, allocations: 11.98 kB / 0.9874 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.246, allocations: 11.44 kB / 0.9874 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.246, allocations: 0 / 0.9874 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of Templates: time 0.002791/0.2488, allocations: 0.5533 MB / 0.988 GB, free: 3.906 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.makefile (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)