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.001649/0.001649, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001477/0.001477, allocations: 192.2 kB / 16.14 MB, free: 6.715 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.466/1.466, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002555/0.002555, allocations: 275 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.099/1.099, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002781/0.002781, allocations: 97.17 kB / 0.6057 GB, free: 25.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1739, allocations: 89.15 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002789/0.1767, allocations: 1.507 MB / 0.6943 GB, free: 3.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005443/0.1773, allocations: 196.3 kB / 0.6944 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.3e-05/0.1773, allocations: 0 / 0.6944 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.406e-05/0.1774, allocations: 0.625 kB / 0.6944 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.917e-05/0.1774, allocations: 3.938 kB / 0.6945 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1776, allocations: 29.94 kB / 0.6945 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.904e-05/0.1777, allocations: 27.88 kB / 0.6945 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.1778, allocations: 7.984 kB / 0.6945 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.87e-05/0.1779, allocations: 7.984 kB / 0.6945 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.358e-05/0.1779, allocations: 12.58 kB / 0.6945 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1779, allocations: 6.156 kB / 0.6945 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.671e-05/0.178, allocations: 31.97 kB / 0.6946 GB, free: 3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.178, allocations: 4 kB / 0.6946 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.1781, allocations: 3.938 kB / 0.6946 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.1782, allocations: 43.86 kB / 0.6946 GB, free: 2.949 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1782, allocations: 0 / 0.6946 GB, free: 2.949 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1782, allocations: 2.062 kB / 0.6946 GB, free: 2.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.1782, allocations: 0 / 0.6946 GB, free: 2.949 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.0004915/0.1787, allocations: 347.7 kB / 0.695 GB, free: 2.559 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.1787, allocations: 8.031 kB / 0.695 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.1788, allocations: 5.531 kB / 0.695 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.1789, allocations: 170 kB / 0.6951 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1789, allocations: 384 / 0.6951 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.179, allocations: 8.375 kB / 0.6951 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1791, allocations: 54.23 kB / 0.6952 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1792, allocations: 192 / 0.6952 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.1792, allocations: 7.875 kB / 0.6952 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1792, allocations: 0 / 0.6952 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1794, allocations: 35.95 kB / 0.6952 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.1797, allocations: 245 kB / 0.6955 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001428/0.1799, allocations: 46.44 kB / 0.6955 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.191e-05/0.18, allocations: 24.89 kB / 0.6955 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.113e-05/0.1801, allocations: 81.11 kB / 0.6956 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.1801, allocations: 34.55 kB / 0.6956 GB, free: 1.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1801, allocations: 0 / 0.6956 GB, free: 1.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003697/0.1805, allocations: 85.59 kB / 0.6957 GB, free: 1.633 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1805, allocations: 55.39 kB / 0.6958 GB, free: 1.566 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.435e-05/0.1806, allocations: 101.9 kB / 0.6959 GB, free: 1.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.1807, allocations: 25.7 kB / 0.6959 GB, free: 1.426 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.1807, allocations: 80.14 kB / 0.696 GB, free: 1.344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.1807, allocations: 15.83 kB / 0.696 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.1808, allocations: 13.72 kB / 0.696 GB, free: 1.309 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1809, allocations: 315 kB / 0.6963 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.568e-05/0.181, allocations: 19.98 kB / 0.6963 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.362e-05/0.1811, allocations: 11.98 kB / 0.6963 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.1813, allocations: 40.81 kB / 0.6964 GB, free: 0.918 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1813, allocations: 0 / 0.6964 GB, free: 0.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002089/0.1815, allocations: 81.59 kB / 0.6964 GB, free: 0.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1815, allocations: 4 kB / 0.6965 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1815, allocations: 0 / 0.6965 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.1815, allocations: 0 / 0.6965 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.1816, allocations: 8 kB / 0.6965 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.1816, allocations: 7.969 kB / 0.6965 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.1817, allocations: 8.188 kB / 0.6965 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-06/0.1817, allocations: 0 / 0.6965 GB, free: 0.8047 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 8.51e-05/0.1818, allocations: 117.8 kB / 0.6966 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.1818, allocations: 7.906 kB / 0.6966 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.1821, allocations: 72.77 kB / 0.6967 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1821, allocations: 4 kB / 0.6967 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1821, allocations: 3.938 kB / 0.6967 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.1821, allocations: 0 / 0.6967 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.1823, allocations: 161.6 kB / 0.6968 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1823, allocations: 0 / 0.6968 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.1824, allocations: 11.98 kB / 0.6968 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.1824, allocations: 0 / 0.6968 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1824, allocations: 0 / 0.6968 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1824, allocations: 0 / 0.6968 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1824, allocations: 0 / 0.6968 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.1827, allocations: 171.4 kB / 0.697 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.1827, allocations: 77.11 kB / 0.6971 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.1827, allocations: 4 kB / 0.6971 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.689e-05/0.1828, allocations: 7.984 kB / 0.6971 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.1829, allocations: 0 / 0.6971 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.1829, allocations: 0 / 0.6971 GB, free: 84 kB / 494.1 MB Notification: Performance of sorting global known variables: time 7.029e-05/0.1829, allocations: 87.27 kB / 0.6972 GB, free: 16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.637e-06/0.183, allocations: 0 / 0.6972 GB, free: 16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002248/0.1832, allocations: 15.88 kB / 0.6972 GB, free: 15.98 MB / 0.4981 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 (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.0001607/0.1833, allocations: 115.3 kB / 0.6973 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1836, allocations: 39.95 kB / 0.6973 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1836, allocations: 0 / 0.6973 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.764e-05/0.1837, allocations: 19.98 kB / 0.6974 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.184, allocations: 5.312 kB / 0.6974 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.1842, allocations: 115.2 kB / 0.6975 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.1846, allocations: 0.677 MB / 0.6981 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.1846, allocations: 7.938 kB / 0.6981 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.1846, allocations: 7.438 kB / 0.6981 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1846, allocations: 0 / 0.6981 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of Templates: time 0.002882/0.1875, allocations: 0.512 MB / 0.6986 GB, free: 14.42 MB / 0.4981 GB 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)