Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 103.4 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.001044/0.001044, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002023/0.002023, allocations: 287.1 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9583/0.9583, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002718, allocations: 91.86 kB / 0.5947 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1712, allocations: 86.98 MB / 0.6796 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002325/0.1736, allocations: 1.5 MB / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003567/0.1739, allocations: 188.8 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.174, allocations: 1.719 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.174, allocations: 7.922 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.652e-05/0.1741, allocations: 3.984 kB / 0.6813 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.1743, allocations: 27.98 kB / 0.6813 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.158e-05/0.1744, allocations: 24.8 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.1745, allocations: 8.719 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.1745, allocations: 7.922 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.382e-05/0.1745, allocations: 17.33 kB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.1746, allocations: 4 kB / 0.6814 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.654e-05/0.1746, allocations: 31.97 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.1747, allocations: 7.984 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.1747, allocations: 8.594 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.735e-05/0.1748, allocations: 39.88 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1748, allocations: 4.625 kB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1748, allocations: 7.938 kB / 0.6815 GB, free: 15.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1748, allocations: 0 / 0.6815 GB, free: 15.17 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004064/0.1752, allocations: 347.7 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.1753, allocations: 12.03 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.1753, allocations: 0.9375 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.959e-05/0.1754, allocations: 168.3 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.1754, allocations: 384 / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.924e-06/0.1754, allocations: 384 / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.1756, allocations: 54.23 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1756, allocations: 192 / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.305e-06/0.1756, allocations: 3.938 kB / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.1756, allocations: 0 / 0.682 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.1758, allocations: 35.95 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.1761, allocations: 252.8 kB / 0.6823 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1762, allocations: 42.5 kB / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.872e-05/0.1763, allocations: 28.89 kB / 0.6824 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.659e-05/0.1764, allocations: 81.11 kB / 0.6824 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.1764, allocations: 30.56 kB / 0.6825 GB, free: 13.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1764, allocations: 0 / 0.6825 GB, free: 13.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003216/0.1767, allocations: 89.58 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.1768, allocations: 51.41 kB / 0.6826 GB, free: 13.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.484e-05/0.1768, allocations: 101.8 kB / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1769, allocations: 29.7 kB / 0.6827 GB, free: 13.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.1769, allocations: 84.14 kB / 0.6828 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.1769, allocations: 7.844 kB / 0.6828 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/0.177, allocations: 13.84 kB / 0.6828 GB, free: 13.54 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.1771, allocations: 318.8 kB / 0.6831 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.1771, allocations: 15.98 kB / 0.6832 GB, free: 13.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/0.1772, allocations: 19.98 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.1774, allocations: 32.83 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1774, allocations: 8.062 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001779/0.1776, allocations: 73.47 kB / 0.6833 GB, free: 13.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1776, allocations: 10.19 kB / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.1776, allocations: 0 / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.547e-06/0.1776, allocations: 0 / 0.6833 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.878e-05/0.1777, allocations: 8.234 kB / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.1777, allocations: 0 / 0.6833 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.379e-05/0.1777, allocations: 11.98 kB / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1778, allocations: 8.031 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.043e-05/0.1778, allocations: 115.1 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.103e-05/0.1779, allocations: 0 / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.1781, allocations: 72.72 kB / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1781, allocations: 0 / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1781, allocations: 0 / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.1781, allocations: 0 / 0.6835 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.1782, allocations: 173.5 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1782, allocations: 0 / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.1783, allocations: 15.92 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1783, allocations: 0 / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.1783, allocations: 0 / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1783, allocations: 4 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1783, allocations: 0 / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.1786, allocations: 163.5 kB / 0.6838 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.1786, allocations: 77.11 kB / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1786, allocations: 0 / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.1787, allocations: 15.92 kB / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.1787, allocations: 0 / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1787, allocations: 4 kB / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.047e-05/0.1788, allocations: 79.28 kB / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1788, allocations: 0 / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.179, allocations: 16.02 kB / 0.684 GB, free: 12.2 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 (2): * Single equations (assignments): 2 * 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.000126/0.1791, allocations: 107.2 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.1793, allocations: 39.95 kB / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1794, allocations: 0 / 0.6842 GB, free: 12.05 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.057e-05/0.1794, allocations: 19.98 kB / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.1797, allocations: 12.06 kB / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002344/0.1799, allocations: 117.4 kB / 0.6843 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1802, allocations: 0.6768 MB / 0.685 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.098e-05/0.1802, allocations: 0 / 0.685 GB, free: 11.17 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.1802, allocations: 11.44 kB / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1802, allocations: 0 / 0.685 GB, free: 11.16 MB / 494.1 MB Notification: Performance of Templates: time 0.002276/0.1825, allocations: 0.5261 MB / 0.6855 GB, free: 10.64 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)