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.000884/0.0008843, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 173 kB / 16.92 MB, free: 6.652 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.39/1.39, allocations: 223.3 MB / 241 MB, free: 5.336 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.068/1.068, allocations: 143.2 MB / 435.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 16 kB / 0.517 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1664, allocations: 83.41 MB / 0.5985 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.001855/0.1683, allocations: 1.48 MB / 0.5999 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.1693, allocations: 0.6439 MB / 0.6006 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.1694, allocations: 0 / 0.6006 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.1694, allocations: 11.92 kB / 0.6006 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-05/0.1695, allocations: 7.875 kB / 0.6006 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.1699, allocations: 155.9 kB / 0.6007 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1701, allocations: 115.7 kB / 0.6009 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1702, allocations: 41.11 kB / 0.6009 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.1703, allocations: 55.77 kB / 0.6009 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.1704, allocations: 43.77 kB / 0.601 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.1704, allocations: 4 kB / 0.601 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.626e-05/0.1705, allocations: 35.97 kB / 0.601 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.1706, allocations: 19.92 kB / 0.601 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.713e-05/0.1706, allocations: 81.41 kB / 0.6011 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1708, allocations: 95.97 kB / 0.6012 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1708, allocations: 0 / 0.6012 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1708, allocations: 0 / 0.6012 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.1708, allocations: 0 / 0.6012 GB, free: 4.875 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005525/0.1714, allocations: 419.1 kB / 0.6016 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1714, allocations: 16.03 kB / 0.6016 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008788/0.1723, allocations: 148.5 kB / 0.6018 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1724, allocations: 180.2 kB / 0.6019 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.25e-05/0.1725, allocations: 63.95 kB / 0.602 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.1726, allocations: 12.38 kB / 0.602 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.1731, allocations: 197.7 kB / 0.6022 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1731, allocations: 0 / 0.6022 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.1732, allocations: 3.938 kB / 0.6022 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1732, allocations: 4 kB / 0.6022 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006823/0.1739, allocations: 191.8 kB / 0.6024 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.175, allocations: 0.5016 MB / 0.6029 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.1761, allocations: 270.3 kB / 0.6031 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.1764, allocations: 92.91 kB / 0.6032 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1765, allocations: 8 kB / 0.6032 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1765, allocations: 42.53 kB / 0.6033 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1765, allocations: 0 / 0.6033 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.001112/0.1776, allocations: 313.4 kB / 0.6036 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1777, allocations: 55.41 kB / 0.6036 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1778, allocations: 148.7 kB / 0.6038 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.1778, allocations: 25.7 kB / 0.6038 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.1779, allocations: 108.2 kB / 0.6039 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.1779, allocations: 23.66 kB / 0.6039 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.178, allocations: 9.719 kB / 0.6039 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1781, allocations: 322.8 kB / 0.6042 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.1784, allocations: 91.92 kB / 0.6043 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.1788, allocations: 114.5 kB / 0.6044 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.1795, allocations: 198.4 kB / 0.6046 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1795, allocations: 0 / 0.6046 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007405/0.1802, allocations: 241.4 kB / 0.6049 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.1802, allocations: 5.875 kB / 0.6049 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1803, allocations: 0 / 0.6049 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1803, allocations: 7.875 kB / 0.6049 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.1806, allocations: 43.95 kB / 0.6049 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1806, allocations: 7.922 kB / 0.6049 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002099/0.1808, allocations: 35.97 kB / 0.605 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.1808, allocations: 4 kB / 0.605 GB, free: 0.7891 MB / 0.4981 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 8.863e-05/0.1809, allocations: 113.8 kB / 0.6051 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.181, allocations: 11.84 kB / 0.6051 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007793/0.1817, allocations: 242.5 kB / 0.6053 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1818, allocations: 4 kB / 0.6053 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1818, allocations: 4.047 kB / 0.6053 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1818, allocations: 8 kB / 0.6053 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.182, allocations: 238.3 kB / 0.6056 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.182, allocations: 0 / 0.6056 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/0.1823, allocations: 43.89 kB / 0.6056 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1823, allocations: 0 / 0.6056 GB, free: 72 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.1823, allocations: 7.922 kB / 0.6056 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1823, allocations: 0 / 0.6056 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1823, allocations: 8 kB / 0.6056 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2585/0.4408, allocations: 309.9 kB / 0.6059 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.4409, allocations: 84.7 kB / 0.606 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.4409, allocations: 3.75 kB / 0.606 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.4413, allocations: 49.62 kB / 0.606 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.4413, allocations: 6.422 kB / 0.606 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.4414, allocations: 5.75 kB / 0.606 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.4414, allocations: 102.3 kB / 0.6061 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4414, allocations: 2.25 kB / 0.6061 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002732/0.4417, allocations: 28.72 kB / 0.6062 GB, free: 40.89 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 (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.0001055/0.4418, allocations: 101.7 kB / 0.6063 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006821/0.4425, allocations: 199.9 kB / 0.6065 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4425, allocations: 0 / 0.6065 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.4428, allocations: 101.7 kB / 0.6066 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.4431, allocations: 10.31 kB / 0.6066 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.4438, allocations: 338.7 kB / 0.6069 GB, free: 40.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.784e-05/0.4439, allocations: 0.7025 MB / 0.6076 GB, free: 39.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.4439, allocations: 17.2 kB / 0.6076 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.444, allocations: 3.438 kB / 0.6076 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.002608/0.4466, allocations: 1.573 MB / 0.6091 GB, free: 39.87 MB / 0.4981 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)