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.001273/0.001272, allocations: 102.7 kB / 16.36 MB, free: 6.301 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.00123/0.00123, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.803/1.803, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001385/0.001386, allocations: 71.91 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2039, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001732/0.2057, allocations: 0.6054 MB / 0.7854 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000235/0.206, allocations: 59.78 kB / 0.7854 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.206, allocations: 4 kB / 0.7854 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.206, allocations: 3.938 kB / 0.7855 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.271e-06/0.206, allocations: 0 / 0.7855 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.2063, allocations: 19.97 kB / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.719e-05/0.2063, allocations: 7.984 kB / 0.7855 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.2064, allocations: 4 kB / 0.7855 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.487e-05/0.2064, allocations: 7.938 kB / 0.7855 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.022e-05/0.2065, allocations: 11.98 kB / 0.7855 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.2065, allocations: 4 kB / 0.7855 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.337e-05/0.2065, allocations: 19.92 kB / 0.7855 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.2066, allocations: 7.984 kB / 0.7855 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.2066, allocations: 3.938 kB / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.084e-05/0.2067, allocations: 23.91 kB / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2067, allocations: 0 / 0.7856 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2067, allocations: 3.938 kB / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.2067, allocations: 0 / 0.7856 GB, free: 2.348 MB / 0.6544 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.0003619/0.2071, allocations: 327.6 kB / 0.7859 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.2071, allocations: 8.031 kB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.2071, allocations: 4.938 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.2072, allocations: 160.4 kB / 0.786 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.2072, allocations: 384 / 0.786 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.2073, allocations: 4.375 kB / 0.786 GB, free: 1.766 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.2074, allocations: 78.47 kB / 0.7861 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2074, allocations: 4.188 kB / 0.7861 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.2074, allocations: 3.938 kB / 0.7861 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2074, allocations: 0 / 0.7861 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.482e-05/0.2075, allocations: 15.94 kB / 0.7861 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.2077, allocations: 189.1 kB / 0.7863 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.652e-05/0.2078, allocations: 97.03 kB / 0.7864 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.2078, allocations: 32.42 kB / 0.7864 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.208, allocations: 85.09 kB / 0.7865 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.208, allocations: 42.5 kB / 0.7866 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.208, allocations: 0 / 0.7866 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5): time 0.0001822/0.2082, allocations: 77.94 kB / 0.7866 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.2083, allocations: 158.3 kB / 0.7868 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.441e-05/0.2083, allocations: 93.84 kB / 0.7869 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.2083, allocations: 29.7 kB / 0.7869 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.2084, allocations: 80.14 kB / 0.787 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.2084, allocations: 11.81 kB / 0.787 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.2085, allocations: 13.72 kB / 0.787 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2086, allocations: 326.8 kB / 0.7873 GB, free: 212 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.574e-05/0.2086, allocations: 4 kB / 0.7873 GB, free: 208 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.2086, allocations: 36.3 kB / 0.7874 GB, free: 156 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.024e-05/0.2087, allocations: 52.22 kB / 0.7874 GB, free: 88 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2087, allocations: 0 / 0.7874 GB, free: 88 kB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.019e-05/0.2088, allocations: 61.56 kB / 0.7875 GB, free: 20 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2088, allocations: 4 kB / 0.7875 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2088, allocations: 7.938 kB / 0.7875 GB, free: 8 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2088, allocations: 3.938 kB / 0.7875 GB, free: 4 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3697/0.5786, allocations: 9.406 kB / 0.7875 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.5786, allocations: 1.312 kB / 0.7875 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.5787, allocations: 2.703 kB / 0.7875 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.5787, allocations: 5.609 kB / 0.7875 GB, free: 48.57 MB / 0.6544 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.686e-05/0.5788, allocations: 117.3 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.5788, allocations: 1.812 kB / 0.7876 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000235/0.5791, allocations: 107.9 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5791, allocations: 3.438 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5791, allocations: 3.812 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5791, allocations: 0.7031 kB / 0.7877 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.5792, allocations: 161.6 kB / 0.7879 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5792, allocations: 4.656 kB / 0.7879 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.5793, allocations: 21.38 kB / 0.7879 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.5793, allocations: 5.797 kB / 0.7879 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.5793, allocations: 3.188 kB / 0.7879 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5793, allocations: 11.56 kB / 0.7879 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.5793, allocations: 0 / 0.7879 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.5794, allocations: 122.4 kB / 0.788 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.5795, allocations: 83.33 kB / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.5795, allocations: 5.281 kB / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.266e-05/0.5795, allocations: 2.594 kB / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.5796, allocations: 13.06 kB / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-06/0.5796, allocations: 2.656 kB / 0.7881 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.44e-05/0.5796, allocations: 76.31 kB / 0.7882 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5796, allocations: 0 / 0.7882 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002777/0.5799, allocations: 7.281 kB / 0.7882 GB, free: 47.97 MB / 0.6544 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.000145/0.58, allocations: 115.7 kB / 0.7883 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.5801, allocations: 32.28 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5802, allocations: 2.938 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.217e-05/0.5802, allocations: 27.78 kB / 0.7884 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.5804, allocations: 12.91 kB / 0.7884 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.5806, allocations: 171.8 kB / 0.7886 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.203e-05/0.5807, allocations: 0.6857 MB / 0.7892 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.5807, allocations: 12.66 kB / 0.7893 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.5807, allocations: 0 / 0.7893 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.001967/0.5827, allocations: 0.6789 MB / 0.7899 GB, free: 47.02 MB / 0.6544 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)