Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001109/0.001109, 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.001337/0.001338, allocations: 193.6 kB / 16.25 MB, free: 6.617 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.094/1.094, allocations: 143 MB / 433.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 0.5137 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1725, allocations: 82.05 MB / 0.5938 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002403/0.1749, allocations: 1.506 MB / 0.5953 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008263/0.1757, allocations: 0.5579 MB / 0.5958 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.1758, allocations: 4 kB / 0.5958 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.1758, allocations: 0 / 0.5958 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.545e-05/0.1759, allocations: 7.922 kB / 0.5958 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.1761, allocations: 39.91 kB / 0.5959 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.503e-05/0.1762, allocations: 31.92 kB / 0.5959 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.633e-05/0.1763, allocations: 4 kB / 0.5959 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/0.1764, allocations: 19.91 kB / 0.5959 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.754e-05/0.1765, allocations: 15.92 kB / 0.5959 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1765, allocations: 0 / 0.5959 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1766, allocations: 47.97 kB / 0.596 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.1766, allocations: 7.984 kB / 0.596 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.1766, allocations: 19.86 kB / 0.596 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1768, allocations: 71.8 kB / 0.5961 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1768, allocations: 4 kB / 0.5961 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1768, allocations: 0 / 0.5961 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1768, allocations: 0 / 0.5961 GB, free: 7.625 MB / 0.4981 GB 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.0003914/0.1772, allocations: 346.8 kB / 0.5964 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1772, allocations: 12.03 kB / 0.5964 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.1773, allocations: 4.844 kB / 0.5964 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1774, allocations: 172.3 kB / 0.5966 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1774, allocations: 384 / 0.5966 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.1774, allocations: 384 / 0.5966 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1775, allocations: 53.98 kB / 0.5966 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.1776, allocations: 0 / 0.5966 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1776, allocations: 0 / 0.5966 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1776, allocations: 0 / 0.5966 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.1777, allocations: 23.92 kB / 0.5967 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.178, allocations: 260.8 kB / 0.5969 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.949e-05/0.1781, allocations: 30.58 kB / 0.5969 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.1781, allocations: 16.91 kB / 0.5969 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007815/0.1789, allocations: 477.4 kB / 0.5974 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.1789, allocations: 34.56 kB / 0.5974 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1789, allocations: 0 / 0.5974 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002282/0.1792, allocations: 65.56 kB / 0.5975 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.1792, allocations: 55.39 kB / 0.5975 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.1793, allocations: 105.9 kB / 0.5976 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1793, allocations: 25.7 kB / 0.5977 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.1794, allocations: 92.19 kB / 0.5978 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.546e-05/0.1794, allocations: 11.91 kB / 0.5978 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.1794, allocations: 9.719 kB / 0.5978 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.1795, allocations: 326.8 kB / 0.5981 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.08e-05/0.1796, allocations: 4 kB / 0.5981 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.873e-05/0.1796, allocations: 15.98 kB / 0.5981 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.538e-05/0.1797, allocations: 24.8 kB / 0.5981 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.1797, allocations: 11.98 kB / 0.5981 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001093/0.1798, allocations: 53.59 kB / 0.5982 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1799, allocations: 4 kB / 0.5982 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1799, allocations: 0 / 0.5982 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1799, allocations: 0 / 0.5982 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.649e-05/0.18, allocations: 8 kB / 0.5982 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.18, allocations: 0 / 0.5982 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.52e-05/0.18, allocations: 7.969 kB / 0.5982 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.18, allocations: 0 / 0.5982 GB, free: 5.105 MB / 0.4981 GB 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.7e-05/0.1801, allocations: 121.8 kB / 0.5983 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.1801, allocations: 4 kB / 0.5983 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.1803, allocations: 61.14 kB / 0.5984 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.1803, allocations: 4 kB / 0.5984 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1803, allocations: 0 / 0.5984 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1803, allocations: 0 / 0.5984 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.1805, allocations: 169.6 kB / 0.5986 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1805, allocations: 0 / 0.5986 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.1805, allocations: 8.031 kB / 0.5986 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.1805, allocations: 4 kB / 0.5986 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.1805, allocations: 0 / 0.5986 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1805, allocations: 0 / 0.5986 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1805, allocations: 0 / 0.5986 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.1807, allocations: 155.3 kB / 0.5987 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.1807, allocations: 85.11 kB / 0.5988 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.1808, allocations: 4.031 kB / 0.5988 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-05/0.1808, allocations: 3.984 kB / 0.5988 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.1809, allocations: 4 kB / 0.5988 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1809, allocations: 0 / 0.5988 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.963e-05/0.1809, allocations: 83.28 kB / 0.5989 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1809, allocations: 7.938 kB / 0.5989 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002385/0.1812, allocations: 19.98 kB / 0.5989 GB, free: 4.281 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.0001488/0.1813, allocations: 115.2 kB / 0.599 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.1814, allocations: 23.98 kB / 0.5991 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1815, allocations: 0 / 0.5991 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.479e-05/0.1815, allocations: 15.94 kB / 0.5991 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.1817, allocations: 10.59 kB / 0.5991 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.182, allocations: 134.7 kB / 0.5992 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.1822, allocations: 0.6768 MB / 0.5999 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.1822, allocations: 7.984 kB / 0.5999 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.1822, allocations: 7.438 kB / 0.5999 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1823, allocations: 0 / 0.5999 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of Templates: time 0.00252/0.1848, allocations: 0.6725 MB / 0.6005 GB, free: 2.566 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)