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.001637/0.001637, allocations: 109.5 kB / 16.41 MB, free: 6.469 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.001781/0.001781, allocations: 187 kB / 17.34 MB, free: 5.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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.06 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.9284/0.9284, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.94 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.162, allocations: 82.02 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.002996/0.165, allocations: 1.782 MB / 0.6781 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1662, allocations: 0.6631 MB / 0.6787 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.839e-05/0.1662, allocations: 0 / 0.6787 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.667e-05/0.1663, allocations: 11.86 kB / 0.6787 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.879e-05/0.1663, allocations: 15.81 kB / 0.6787 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005908/0.1669, allocations: 174.5 kB / 0.6789 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.1671, allocations: 123.7 kB / 0.679 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1673, allocations: 44.95 kB / 0.6791 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.1674, allocations: 59.83 kB / 0.6791 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.484e-05/0.1675, allocations: 43.78 kB / 0.6792 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.1675, allocations: 12 kB / 0.6792 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1676, allocations: 51.89 kB / 0.6792 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.953e-05/0.1677, allocations: 31.84 kB / 0.6792 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.1677, allocations: 59.7 kB / 0.6793 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.168, allocations: 147.4 kB / 0.6794 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.168, allocations: 0 / 0.6794 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.442e-06/0.168, allocations: 0 / 0.6794 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.168, allocations: 4 kB / 0.6794 GB, free: 7.125 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.0006897/0.1687, allocations: 442.8 kB / 0.6799 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1687, allocations: 8.031 kB / 0.6799 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008447/0.1696, allocations: 112.7 kB / 0.68 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.1697, allocations: 189.9 kB / 0.6802 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.1698, allocations: 67.91 kB / 0.6802 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1699, allocations: 8.375 kB / 0.6802 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005478/0.1704, allocations: 167.4 kB / 0.6804 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1704, allocations: 0 / 0.6804 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/0.1704, allocations: 12 kB / 0.6804 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1705, allocations: 0 / 0.6804 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006459/0.1711, allocations: 151.8 kB / 0.6806 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.1723, allocations: 485.9 kB / 0.681 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.1733, allocations: 222.2 kB / 0.6812 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.1736, allocations: 76.91 kB / 0.6813 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1736, allocations: 0 / 0.6813 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1736, allocations: 38.56 kB / 0.6813 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.1736, allocations: 0 / 0.6813 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.001098/0.1747, allocations: 265.5 kB / 0.6816 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.1748, allocations: 59.34 kB / 0.6816 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1749, allocations: 135.7 kB / 0.6818 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1749, allocations: 25.7 kB / 0.6818 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.175, allocations: 116.1 kB / 0.6819 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.1751, allocations: 19.84 kB / 0.6819 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-05/0.1751, allocations: 25.7 kB / 0.682 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1753, allocations: 318.8 kB / 0.6823 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.1756, allocations: 79.89 kB / 0.6823 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003183/0.1759, allocations: 94.56 kB / 0.6824 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006163/0.1765, allocations: 166.4 kB / 0.6826 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1765, allocations: 0 / 0.6826 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007035/0.1772, allocations: 201.4 kB / 0.6828 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.1772, allocations: 4 kB / 0.6828 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1772, allocations: 4 kB / 0.6828 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.1773, allocations: 3.938 kB / 0.6828 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.1775, allocations: 48 kB / 0.6828 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.1775, allocations: 0 / 0.6828 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.1777, allocations: 23.91 kB / 0.6829 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.1777, allocations: 4 kB / 0.6829 GB, free: 3.371 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.0001129/0.1779, allocations: 113.8 kB / 0.683 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.717e-05/0.1779, allocations: 11.94 kB / 0.683 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007661/0.1787, allocations: 210.1 kB / 0.6832 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1787, allocations: 0 / 0.6832 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1787, allocations: 4 kB / 0.6832 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1787, allocations: 0 / 0.6832 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.179, allocations: 241.9 kB / 0.6834 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.179, allocations: 7.984 kB / 0.6834 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.1792, allocations: 35.94 kB / 0.6835 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1792, allocations: 3.938 kB / 0.6835 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1792, allocations: 3.938 kB / 0.6835 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1792, allocations: 0 / 0.6835 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1792, allocations: 128 / 0.6835 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007352/0.18, allocations: 295.3 kB / 0.6837 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.18, allocations: 85.06 kB / 0.6838 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.18, allocations: 3.938 kB / 0.6838 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002982/0.1803, allocations: 27.95 kB / 0.6839 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.1804, allocations: 11.98 kB / 0.6839 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1804, allocations: 15.92 kB / 0.6839 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.555e-05/0.1805, allocations: 105 kB / 0.684 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1805, allocations: 0 / 0.684 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002647/0.1808, allocations: 23.89 kB / 0.684 GB, free: 2.098 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.0001384/0.1809, allocations: 99.25 kB / 0.6841 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007016/0.1816, allocations: 163.8 kB / 0.6843 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.1816, allocations: 4 kB / 0.6843 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.1819, allocations: 79.91 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.0003285/0.1823, allocations: 12.06 kB / 0.6843 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/0.183, allocations: 284.9 kB / 0.6846 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1833, allocations: 0.6963 MB / 0.6853 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.174e-05/0.1834, allocations: 15.44 kB / 0.6853 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of SimCode: time 6.52e-07/0.1834, allocations: 4 kB / 0.6853 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of Templates: time 0.003519/0.1869, allocations: 1.604 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)