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.001034/0.001034, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.0009812/0.0009811, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.257/1.257, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 284.6 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9306/0.9306, allocations: 169.3 MB / 0.4988 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 98.94 kB / 0.5959 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1569, allocations: 86.98 MB / 0.6808 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.002738/0.1597, allocations: 1.43 MB / 0.6822 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004324/0.1602, allocations: 184.3 kB / 0.6824 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.1602, allocations: 0 / 0.6824 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.114e-05/0.1603, allocations: 11.92 kB / 0.6824 GB, free: 6.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.569e-05/0.1603, allocations: 3.938 kB / 0.6824 GB, free: 6.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.1606, allocations: 39.91 kB / 0.6825 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.339e-05/0.1607, allocations: 23.92 kB / 0.6825 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.007e-05/0.1608, allocations: 7.984 kB / 0.6825 GB, free: 6.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.15e-05/0.1609, allocations: 11.94 kB / 0.6825 GB, free: 6.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.1609, allocations: 15.92 kB / 0.6825 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1609, allocations: 0 / 0.6825 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.332e-05/0.161, allocations: 31.97 kB / 0.6826 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.161, allocations: 4 kB / 0.6826 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.1611, allocations: 15.92 kB / 0.6826 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.1612, allocations: 35.94 kB / 0.6826 GB, free: 6.391 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1612, allocations: 3.938 kB / 0.6826 GB, free: 6.387 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1612, allocations: 0 / 0.6826 GB, free: 6.387 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1612, allocations: 0 / 0.6826 GB, free: 6.387 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.0004075/0.1616, allocations: 347.7 kB / 0.6829 GB, free: 5.996 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1617, allocations: 8.031 kB / 0.683 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.454e-05/0.1617, allocations: 4.938 kB / 0.683 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1618, allocations: 164.4 kB / 0.6831 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1618, allocations: 4.359 kB / 0.6831 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1619, allocations: 8.359 kB / 0.6831 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.162, allocations: 50.19 kB / 0.6832 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1621, allocations: 192 / 0.6832 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1621, allocations: 7.922 kB / 0.6832 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.1621, allocations: 0 / 0.6832 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.1622, allocations: 35.97 kB / 0.6832 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000304/0.1626, allocations: 249 kB / 0.6835 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.1627, allocations: 38.5 kB / 0.6835 GB, free: 5.336 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.1628, allocations: 24.84 kB / 0.6835 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.504e-05/0.1629, allocations: 85.09 kB / 0.6836 GB, free: 5.207 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1629, allocations: 38.56 kB / 0.6836 GB, free: 5.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1629, allocations: 0 / 0.6836 GB, free: 5.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000334/0.1633, allocations: 85.55 kB / 0.6837 GB, free: 5.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.1633, allocations: 55.34 kB / 0.6838 GB, free: 5.004 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.1634, allocations: 101.9 kB / 0.6839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.1634, allocations: 25.83 kB / 0.6839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.1634, allocations: 88.12 kB / 0.684 GB, free: 4.773 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.1635, allocations: 15.83 kB / 0.684 GB, free: 4.758 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.1635, allocations: 13.72 kB / 0.684 GB, free: 4.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.1636, allocations: 310.8 kB / 0.6843 GB, free: 4.426 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.1637, allocations: 23.92 kB / 0.6843 GB, free: 4.402 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/0.1638, allocations: 15.97 kB / 0.6843 GB, free: 4.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1639, allocations: 40.89 kB / 0.6844 GB, free: 4.344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1639, allocations: 0 / 0.6844 GB, free: 4.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/0.1641, allocations: 69.59 kB / 0.6844 GB, free: 4.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1641, allocations: 6.188 kB / 0.6844 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1642, allocations: 3.938 kB / 0.6844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1642, allocations: 0 / 0.6844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/0.1643, allocations: 20.02 kB / 0.6845 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1643, allocations: 0 / 0.6845 GB, free: 4.242 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.472e-05/0.1643, allocations: 4 kB / 0.6845 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.1643, allocations: 0 / 0.6845 GB, free: 4.238 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 6.991e-05/0.1644, allocations: 117.7 kB / 0.6846 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/0.1645, allocations: 3.984 kB / 0.6846 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.1647, allocations: 72.78 kB / 0.6847 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1647, allocations: 4 kB / 0.6847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1647, allocations: 0 / 0.6847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1647, allocations: 0 / 0.6847 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1649, allocations: 157.6 kB / 0.6848 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1649, allocations: 0 / 0.6848 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.806e-05/0.1649, allocations: 11.98 kB / 0.6848 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.165, allocations: 0 / 0.6848 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.165, allocations: 0 / 0.6848 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.165, allocations: 0 / 0.6848 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.165, allocations: 4.031 kB / 0.6848 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.1652, allocations: 171.3 kB / 0.685 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.221e-05/0.1652, allocations: 77.11 kB / 0.6851 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.1653, allocations: 7.984 kB / 0.6851 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.1653, allocations: 256 / 0.6851 GB, free: 3.523 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.1654, allocations: 12.02 kB / 0.6851 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1654, allocations: 4 kB / 0.6851 GB, free: 3.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.575e-05/0.1654, allocations: 83.28 kB / 0.6852 GB, free: 3.426 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1654, allocations: 0 / 0.6852 GB, free: 3.426 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002208/0.1657, allocations: 8 kB / 0.6852 GB, free: 3.418 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.000149/0.1658, allocations: 107.2 kB / 0.6853 GB, free: 3.301 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.166, allocations: 47.83 kB / 0.6853 GB, free: 3.254 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1661, allocations: 4.062 kB / 0.6853 GB, free: 3.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.1662, allocations: 19.98 kB / 0.6853 GB, free: 3.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.1664, allocations: 5.484 kB / 0.6853 GB, free: 3.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.1667, allocations: 135.3 kB / 0.6855 GB, free: 3.062 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.167, allocations: 0.6806 MB / 0.6861 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.167, allocations: 15.44 kB / 0.6862 GB, free: 2.34 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.167, allocations: 0 / 0.6862 GB, free: 2.34 MB / 494.1 MB Notification: Performance of Templates: time 0.001973/0.169, allocations: 0.6648 MB / 0.6868 GB, free: 1.676 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)