Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001601/0.001602, allocations: 186.2 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 295.4 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9494/0.9494, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 98.78 kB / 0.5947 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1604, allocations: 86.98 MB / 0.6796 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.002727/0.1632, allocations: 1.832 MB / 0.6814 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009912/0.1642, allocations: 0.6519 MB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.1642, allocations: 0.7188 kB / 0.682 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/0.1643, allocations: 7.922 kB / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.328e-05/0.1644, allocations: 14.28 kB / 0.6821 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.1649, allocations: 153.1 kB / 0.6822 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.165, allocations: 127.7 kB / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1651, allocations: 49.36 kB / 0.6824 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1653, allocations: 59.83 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.1654, allocations: 47.77 kB / 0.6825 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.1654, allocations: 12 kB / 0.6825 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1655, allocations: 47.95 kB / 0.6825 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.1655, allocations: 23.92 kB / 0.6826 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.1656, allocations: 63.64 kB / 0.6826 GB, free: 14.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1658, allocations: 147.5 kB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1658, allocations: 0 / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1658, allocations: 4 kB / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.1658, allocations: 0 / 0.6828 GB, free: 13.87 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005835/0.1664, allocations: 427 kB / 0.6832 GB, free: 13.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1664, allocations: 8.031 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008409/0.1673, allocations: 120.6 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1674, allocations: 192 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.901e-05/0.1675, allocations: 59.95 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.1675, allocations: 12.38 kB / 0.6835 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.168, allocations: 165.7 kB / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.1681, allocations: 0 / 0.6837 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.1681, allocations: 7.938 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1681, allocations: 4 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005867/0.1687, allocations: 159.8 kB / 0.6839 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.1698, allocations: 493.7 kB / 0.6843 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/0.1707, allocations: 210.3 kB / 0.6845 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.171, allocations: 88.84 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.1711, allocations: 0 / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.1711, allocations: 38.56 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.1711, allocations: 0 / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009937/0.1721, allocations: 269.4 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.1722, allocations: 51.41 kB / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.1723, allocations: 139 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1723, allocations: 29.7 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.581e-05/0.1724, allocations: 116.1 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.1724, allocations: 15.75 kB / 0.6853 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.1725, allocations: 25.7 kB / 0.6853 GB, free: 11.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1726, allocations: 322.8 kB / 0.6856 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.1729, allocations: 67.92 kB / 0.6857 GB, free: 10.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.1732, allocations: 94.5 kB / 0.6857 GB, free: 10.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.1737, allocations: 170.4 kB / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1738, allocations: 0 / 0.6859 GB, free: 10.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006632/0.1744, allocations: 201.4 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1745, allocations: 4 kB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1745, allocations: 0 / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1745, allocations: 7.938 kB / 0.6861 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.1748, allocations: 35.95 kB / 0.6861 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1748, allocations: 4 kB / 0.6861 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.175, allocations: 23.88 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.175, allocations: 7.984 kB / 0.6862 GB, free: 10.12 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001014/0.1751, allocations: 127 kB / 0.6863 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.1751, allocations: 11.91 kB / 0.6863 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006782/0.1758, allocations: 202.2 kB / 0.6865 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1758, allocations: 0 / 0.6865 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1758, allocations: 0 / 0.6865 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1759, allocations: 0 / 0.6865 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.1761, allocations: 238.4 kB / 0.6867 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1761, allocations: 4 kB / 0.6867 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.1763, allocations: 32.27 kB / 0.6868 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1763, allocations: 4 kB / 0.6868 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1764, allocations: 15.88 kB / 0.6868 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1764, allocations: 0 / 0.6868 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1764, allocations: 0 / 0.6868 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006416/0.177, allocations: 295.2 kB / 0.6871 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.139e-05/0.1771, allocations: 85.02 kB / 0.6871 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.1771, allocations: 7.922 kB / 0.6872 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.1774, allocations: 27.95 kB / 0.6872 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.1775, allocations: 11.98 kB / 0.6872 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1775, allocations: 7.984 kB / 0.6872 GB, free: 8.969 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.488e-05/0.1776, allocations: 101.3 kB / 0.6873 GB, free: 8.871 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1776, allocations: 0 / 0.6873 GB, free: 8.871 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.1779, allocations: 31.84 kB / 0.6873 GB, free: 8.84 MB / 494.1 MB 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 (6): * Single equations (assignments): 6 * 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.0001532/0.178, allocations: 107.2 kB / 0.6874 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006715/0.1787, allocations: 159.8 kB / 0.6876 GB, free: 8.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1787, allocations: 4.125 kB / 0.6876 GB, free: 8.566 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003027/0.179, allocations: 83.86 kB / 0.6877 GB, free: 8.484 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1794, allocations: 9.969 kB / 0.6877 GB, free: 8.477 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007286/0.1801, allocations: 291.4 kB / 0.688 GB, free: 8.164 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.1804, allocations: 0.7002 MB / 0.6886 GB, free: 7.438 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.1806, allocations: 12 kB / 0.6886 GB, free: 7.426 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.294e-05/0.1806, allocations: 15.42 kB / 0.6887 GB, free: 7.41 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1806, allocations: 4 kB / 0.6887 GB, free: 7.406 MB / 494.1 MB Notification: Performance of Templates: time 0.003898/0.1845, allocations: 1.424 MB / 0.6901 GB, free: 5.992 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)