Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001634/0.001634, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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 0.8677/0.8677, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 70.7 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1613, allocations: 82.03 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003265/0.1646, allocations: 1.775 MB / 0.678 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1659, allocations: 0.6631 MB / 0.6787 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.978e-05/0.166, allocations: 4 kB / 0.6787 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.597e-05/0.166, allocations: 11.86 kB / 0.6787 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.1661, allocations: 15.8 kB / 0.6787 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006417/0.1668, allocations: 167.1 kB / 0.6789 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001936/0.167, allocations: 127.7 kB / 0.679 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.1671, allocations: 48.97 kB / 0.6791 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1673, allocations: 63.77 kB / 0.6791 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1674, allocations: 47.77 kB / 0.6792 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.1674, allocations: 12 kB / 0.6792 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1676, allocations: 43.97 kB / 0.6792 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.1676, allocations: 35.83 kB / 0.6792 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.984e-05/0.1677, allocations: 59.7 kB / 0.6793 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.168, allocations: 151.5 kB / 0.6794 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.168, allocations: 0 / 0.6794 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.332e-06/0.168, allocations: 0 / 0.6794 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.168, allocations: 0 / 0.6794 GB, free: 7.133 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006594/0.1687, allocations: 435 kB / 0.6799 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1687, allocations: 12.03 kB / 0.6799 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008706/0.1696, allocations: 108.7 kB / 0.68 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1697, allocations: 184 kB / 0.6802 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.1698, allocations: 67.95 kB / 0.6802 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.1699, allocations: 8.375 kB / 0.6802 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.1704, allocations: 173.7 kB / 0.6804 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1704, allocations: 0 / 0.6804 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.1705, allocations: 4 kB / 0.6804 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1705, allocations: 0 / 0.6804 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005747/0.1711, allocations: 167.8 kB / 0.6806 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.1722, allocations: 473.9 kB / 0.681 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009614/0.1732, allocations: 218.3 kB / 0.6812 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.1735, allocations: 80.91 kB / 0.6813 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.1735, allocations: 7.984 kB / 0.6813 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.1735, allocations: 30.56 kB / 0.6813 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1735, allocations: 0 / 0.6813 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0009661/0.1745, allocations: 269.4 kB / 0.6816 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1745, allocations: 55.39 kB / 0.6816 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.1747, allocations: 145.7 kB / 0.6818 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.442e-05/0.1747, allocations: 25.7 kB / 0.6818 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.1748, allocations: 112.1 kB / 0.6819 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.1748, allocations: 19.75 kB / 0.6819 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.983e-05/0.1749, allocations: 29.7 kB / 0.682 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.175, allocations: 318.8 kB / 0.6823 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.1753, allocations: 71.92 kB / 0.6823 GB, free: 3.945 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.1756, allocations: 98.48 kB / 0.6824 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005501/0.1762, allocations: 166.6 kB / 0.6826 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1762, allocations: 0 / 0.6826 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006174/0.1768, allocations: 197.4 kB / 0.6828 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1768, allocations: 8 kB / 0.6828 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1768, allocations: 4.062 kB / 0.6828 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1769, allocations: 7.922 kB / 0.6828 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.1771, allocations: 39.95 kB / 0.6828 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1771, allocations: 0 / 0.6828 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.1773, allocations: 27.86 kB / 0.6829 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.1774, allocations: 4 kB / 0.6829 GB, free: 3.379 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.000111/0.1775, allocations: 117.8 kB / 0.683 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.1775, allocations: 11.91 kB / 0.683 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006509/0.1782, allocations: 206.1 kB / 0.6832 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1782, allocations: 8 kB / 0.6832 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1782, allocations: 0 / 0.6832 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1782, allocations: 0 / 0.6832 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.1785, allocations: 245.9 kB / 0.6834 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1785, allocations: 0 / 0.6834 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.1787, allocations: 35.89 kB / 0.6835 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1787, allocations: 0 / 0.6835 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.1788, allocations: 7.922 kB / 0.6835 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.1788, allocations: 0 / 0.6835 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1788, allocations: 4 kB / 0.6835 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006454/0.1794, allocations: 283.3 kB / 0.6837 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-05/0.1795, allocations: 85.02 kB / 0.6838 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1795, allocations: 4.125 kB / 0.6838 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.1798, allocations: 35.95 kB / 0.6839 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.1799, allocations: 7.984 kB / 0.6839 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.1799, allocations: 11.94 kB / 0.6839 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.51e-05/0.18, allocations: 109.1 kB / 0.684 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.18, allocations: 0 / 0.684 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002641/0.1802, allocations: 23.91 kB / 0.684 GB, free: 2.109 MB / 0.5137 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 (6): * Single equations (assignments): 6 * 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.000132/0.1804, allocations: 103.2 kB / 0.6841 GB, free: 2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006082/0.181, allocations: 159.8 kB / 0.6843 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.181, allocations: 3.938 kB / 0.6843 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002863/0.1813, allocations: 91.97 kB / 0.6843 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.1816, allocations: 10.5 kB / 0.6844 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006957/0.1823, allocations: 273.1 kB / 0.6846 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1826, allocations: 0.7018 MB / 0.6853 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.911e-05/0.1827, allocations: 23.42 kB / 0.6853 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1827, allocations: 0 / 0.6853 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of Templates: time 0.003464/0.1862, allocations: 1.608 MB / 0.6869 GB, free: 15.08 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)