Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.642/1.642, allocations: 288.4 MB / 303.7 MB, free: 8.145 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.001191/0.001191, allocations: 168.5 kB / 372.3 MB, free: 10.12 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.408/1.408, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.000734/0.0007339, allocations: 93.05 kB / 0.7444 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003715, allocations: 13.25 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.177, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001333/0.1784, allocations: 1.145 MB / 0.9812 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006133/0.179, allocations: 489.6 kB / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.1791, allocations: 0 / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.1791, allocations: 0 / 0.9817 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.224e-05/0.1792, allocations: 7.938 kB / 0.9817 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.1793, allocations: 19.97 kB / 0.9817 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.59e-05/0.1794, allocations: 23.92 kB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.1795, allocations: 4 kB / 0.9818 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.1795, allocations: 15.92 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.1796, allocations: 0 / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.1796, allocations: 4 kB / 0.9818 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.542e-05/0.1797, allocations: 23.91 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.1797, allocations: 3.984 kB / 0.9818 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.1797, allocations: 37.64 kB / 0.9819 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.56e-05/0.1798, allocations: 19.91 kB / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1798, allocations: 0 / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1798, allocations: 0 / 0.9819 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.1798, allocations: 0 / 0.9819 GB, free: 25.53 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003198/0.1801, allocations: 351.7 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1802, allocations: 8.031 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.536e-05/0.1802, allocations: 0.9375 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.871e-05/0.1803, allocations: 172.4 kB / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1803, allocations: 384 / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1803, allocations: 384 / 0.9824 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1805, allocations: 57.94 kB / 0.9824 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1805, allocations: 7.984 kB / 0.9824 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1805, allocations: 0 / 0.9824 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1805, allocations: 0 / 0.9824 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.1807, allocations: 43.97 kB / 0.9825 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.1809, allocations: 256.8 kB / 0.9827 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.1811, allocations: 42.56 kB / 0.9828 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.711e-05/0.1812, allocations: 24.91 kB / 0.9828 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.1813, allocations: 93.03 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.1813, allocations: 30.56 kB / 0.9829 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.482e-06/0.1813, allocations: 7.938 kB / 0.9829 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003108/0.1816, allocations: 93.64 kB / 0.983 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.1817, allocations: 59.53 kB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.592e-05/0.1817, allocations: 97.84 kB / 0.9832 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-06/0.1817, allocations: 29.7 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.327e-05/0.1818, allocations: 88.12 kB / 0.9833 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.1818, allocations: 7.844 kB / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.1818, allocations: 0 / 0.9833 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.791e-05/0.1818, allocations: 314.8 kB / 0.9836 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.1819, allocations: 23.98 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.182, allocations: 31.91 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1821, allocations: 52.83 kB / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1821, allocations: 0 / 0.9837 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001711/0.1823, allocations: 73.66 kB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1823, allocations: 7.938 kB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1823, allocations: 32 / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1824, allocations: 8 kB / 0.9838 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.1825, allocations: 15.97 kB / 0.9838 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1825, allocations: 0 / 0.9838 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.1825, allocations: 4 kB / 0.9838 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1825, allocations: 4 kB / 0.9838 GB, free: 23.32 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.324e-05/0.1826, allocations: 125.7 kB / 0.9839 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.1826, allocations: 7.906 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.1828, allocations: 76.78 kB / 0.984 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1828, allocations: 0 / 0.984 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1829, allocations: 4 kB / 0.984 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1829, allocations: 0 / 0.984 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.183, allocations: 165.6 kB / 0.9842 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.183, allocations: 3.984 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.183, allocations: 8 kB / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1831, allocations: 0 / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1831, allocations: 256 / 0.9842 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1831, allocations: 11.98 kB / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1831, allocations: 0 / 0.9842 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.1833, allocations: 179.4 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.1833, allocations: 81.09 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1833, allocations: 4 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.1834, allocations: 4.031 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.1834, allocations: 7.984 kB / 0.9844 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1834, allocations: 4 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.232e-05/0.1835, allocations: 79.28 kB / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1835, allocations: 0 / 0.9845 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002091/0.1837, allocations: 11.94 kB / 0.9845 GB, free: 22.46 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001092/0.1838, allocations: 99.25 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.184, allocations: 51.89 kB / 0.9847 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.184, allocations: 4 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.753e-05/0.1841, allocations: 19.98 kB / 0.9847 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1844, allocations: 18.11 kB / 0.9847 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.1846, allocations: 113.7 kB / 0.9848 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.548e-05/0.1847, allocations: 0.6809 MB / 0.9855 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.1847, allocations: 0 / 0.9855 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.1848, allocations: 7.438 kB / 0.9855 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of SimCode: time 2.51e-07/0.1848, allocations: 0 / 0.9855 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.002051/0.1868, allocations: 485.7 kB / 0.986 GB, free: 20.95 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)