Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001137/0.001137, allocations: 192.5 kB / 16.14 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 282.8 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9323/0.9323, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 96.59 kB / 0.5945 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1569, allocations: 86.99 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.002588/0.1596, allocations: 1.511 MB / 0.6809 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008626/0.1605, allocations: 0.5599 MB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.1605, allocations: 0 / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.1605, allocations: 8.453 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.793e-05/0.1606, allocations: 1.219 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.1608, allocations: 31.91 kB / 0.6815 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.57e-05/0.1609, allocations: 36.7 kB / 0.6815 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.144e-05/0.1609, allocations: 8 kB / 0.6815 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.003e-05/0.161, allocations: 15.92 kB / 0.6816 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.1611, allocations: 15.91 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1611, allocations: 4 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1612, allocations: 47.97 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.31e-05/0.1612, allocations: 7.922 kB / 0.6816 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.1612, allocations: 11.94 kB / 0.6816 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.1614, allocations: 64.08 kB / 0.6817 GB, free: 14.87 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1614, allocations: 4 kB / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1614, allocations: 0 / 0.6817 GB, free: 14.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1614, allocations: 4 kB / 0.6817 GB, free: 14.86 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.0003773/0.1618, allocations: 343.5 kB / 0.682 GB, free: 14.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1618, allocations: 12.03 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.1619, allocations: 4.844 kB / 0.6821 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.162, allocations: 168.3 kB / 0.6822 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.162, allocations: 384 / 0.6822 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.162, allocations: 384 / 0.6822 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.1622, allocations: 49.98 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1622, allocations: 7.938 kB / 0.6823 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1622, allocations: 3.984 kB / 0.6823 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1622, allocations: 0 / 0.6823 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.696e-05/0.1623, allocations: 23.92 kB / 0.6823 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.1626, allocations: 260.9 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.676e-05/0.1627, allocations: 26.58 kB / 0.6826 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.1628, allocations: 24.91 kB / 0.6826 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008591/0.1637, allocations: 469.4 kB / 0.683 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.1637, allocations: 42.55 kB / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1637, allocations: 7.938 kB / 0.6831 GB, free: 13.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002253/0.1639, allocations: 57.59 kB / 0.6832 GB, free: 13.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.164, allocations: 55.41 kB / 0.6832 GB, free: 13.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.143e-05/0.1641, allocations: 109.8 kB / 0.6833 GB, free: 12.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1641, allocations: 29.64 kB / 0.6833 GB, free: 12.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/0.1641, allocations: 84.12 kB / 0.6834 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1642, allocations: 11.91 kB / 0.6834 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.1642, allocations: 9.844 kB / 0.6834 GB, free: 12.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1643, allocations: 318.8 kB / 0.6837 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/0.1644, allocations: 11.98 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.46e-05/0.1644, allocations: 8 kB / 0.6838 GB, free: 12.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.946e-05/0.1645, allocations: 36.72 kB / 0.6838 GB, free: 12.42 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1645, allocations: 0 / 0.6838 GB, free: 12.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001144/0.1646, allocations: 57.73 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.1646, allocations: 4 kB / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1646, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.1647, allocations: 0 / 0.6839 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.1647, allocations: 8 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.1647, allocations: 0 / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.241e-05/0.1648, allocations: 3.984 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.1648, allocations: 0 / 0.6839 GB, free: 12.34 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.419e-05/0.1649, allocations: 115.1 kB / 0.684 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.1649, allocations: 7.938 kB / 0.684 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.1651, allocations: 65.14 kB / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1651, allocations: 4 kB / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1651, allocations: 0 / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1651, allocations: 0 / 0.684 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.1652, allocations: 165.5 kB / 0.6842 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1652, allocations: 0 / 0.6842 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.1653, allocations: 8 kB / 0.6842 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1653, allocations: 0 / 0.6842 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1653, allocations: 8.031 kB / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1653, allocations: 0 / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1653, allocations: 0 / 0.6842 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.1655, allocations: 151.4 kB / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/0.1655, allocations: 85.02 kB / 0.6844 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.1655, allocations: 0 / 0.6844 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.965e-05/0.1656, allocations: 0 / 0.6844 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.1657, allocations: 16.02 kB / 0.6845 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1657, allocations: 0 / 0.6845 GB, free: 11.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.904e-05/0.1657, allocations: 83.28 kB / 0.6845 GB, free: 11.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1657, allocations: 0 / 0.6845 GB, free: 11.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.166, allocations: 23.98 kB / 0.6846 GB, free: 11.52 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.0001418/0.1661, allocations: 111.2 kB / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.1662, allocations: 23.97 kB / 0.6847 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1662, allocations: 4.062 kB / 0.6847 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.858e-05/0.1663, allocations: 15.88 kB / 0.6847 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.1665, allocations: 13.83 kB / 0.6847 GB, free: 11.35 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.1668, allocations: 128.4 kB / 0.6848 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.167, allocations: 0.6809 MB / 0.6855 GB, free: 10.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.157e-05/0.167, allocations: 4.609 kB / 0.6855 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.949e-05/0.1671, allocations: 11.42 kB / 0.6855 GB, free: 10.48 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1671, allocations: 0 / 0.6855 GB, free: 10.48 MB / 494.1 MB Notification: Performance of Templates: time 0.002419/0.1695, allocations: 0.6521 MB / 0.6862 GB, free: 9.836 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)