Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001289/0.001289, allocations: 189.9 kB / 16.25 MB, free: 6.637 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.418/1.418, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.024/1.024, allocations: 143 MB / 433.1 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 67.91 kB / 0.5137 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.19, allocations: 82.04 MB / 0.5938 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00192/0.1919, allocations: 0.6388 MB / 0.5944 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.1934, allocations: 1.108 MB / 0.5955 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.1935, allocations: 0 / 0.5955 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.1935, allocations: 0 / 0.5955 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.1937, allocations: 12 kB / 0.5955 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.507e-06/0.1937, allocations: 0 / 0.5955 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.687e-05/0.1938, allocations: 7.984 kB / 0.5955 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.1938, allocations: 7.922 kB / 0.5955 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.157e-05/0.1939, allocations: 7.938 kB / 0.5955 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.891e-05/0.1939, allocations: 0 / 0.5955 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.1939, allocations: 3.938 kB / 0.5955 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.194, allocations: 19.98 kB / 0.5956 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.5e-06/0.194, allocations: 4 kB / 0.5956 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.194, allocations: 3.984 kB / 0.5956 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.21e-05/0.1941, allocations: 19.86 kB / 0.5956 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1941, allocations: 0 / 0.5956 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1941, allocations: 0 / 0.5956 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.1941, allocations: 0 / 0.5956 GB, free: 8.074 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.0002557/0.1944, allocations: 319.6 kB / 0.5959 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1945, allocations: 8.625 kB / 0.5959 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.1945, allocations: 4.938 kB / 0.5959 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.1946, allocations: 160.4 kB / 0.5961 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1947, allocations: 4.375 kB / 0.5961 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.1947, allocations: 4.359 kB / 0.5961 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.509e-05/0.1948, allocations: 42 kB / 0.5961 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1948, allocations: 0 / 0.5961 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1948, allocations: 4 kB / 0.5961 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1948, allocations: 0 / 0.5961 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.485e-05/0.1949, allocations: 7.938 kB / 0.5961 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.195, allocations: 153.6 kB / 0.5963 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.1952, allocations: 38.61 kB / 0.5963 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.776e-05/0.1953, allocations: 8.859 kB / 0.5963 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.1954, allocations: 85.19 kB / 0.5964 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1954, allocations: 34.5 kB / 0.5964 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1955, allocations: 0 / 0.5964 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.004245/0.1997, allocations: 0.5679 MB / 0.597 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.1998, allocations: 55.41 kB / 0.597 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.406e-05/0.1998, allocations: 93.86 kB / 0.5971 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.1998, allocations: 33.64 kB / 0.5972 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.136e-05/0.1999, allocations: 80.14 kB / 0.5972 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.31e-05/0.1999, allocations: 11.8 kB / 0.5972 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.2, allocations: 25.64 kB / 0.5973 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.2001, allocations: 314.8 kB / 0.5976 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/0.2007, allocations: 83.95 kB / 0.5976 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.2013, allocations: 102.7 kB / 0.5977 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.2024, allocations: 190.4 kB / 0.5979 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2024, allocations: 4 kB / 0.5979 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00125/0.2037, allocations: 217.5 kB / 0.5981 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2037, allocations: 4 kB / 0.5981 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2037, allocations: 4 kB / 0.5981 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2037, allocations: 0 / 0.5981 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.2041, allocations: 48 kB / 0.5982 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2042, allocations: 7.938 kB / 0.5982 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.2045, allocations: 43.97 kB / 0.5982 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.2046, allocations: 4 kB / 0.5982 GB, free: 5.098 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 (5): * Single equations (assignments): 5 * 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.0001156/0.2047, allocations: 105.8 kB / 0.5983 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.2047, allocations: 11.84 kB / 0.5984 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.2061, allocations: 245 kB / 0.5986 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2062, allocations: 0 / 0.5986 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2062, allocations: 0 / 0.5986 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.2062, allocations: 4 kB / 0.5986 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001619/0.2078, allocations: 450.5 kB / 0.599 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2078, allocations: 3.938 kB / 0.599 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.2082, allocations: 47.97 kB / 0.5991 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2082, allocations: 432 / 0.5991 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.2082, allocations: 7.984 kB / 0.5991 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2082, allocations: 0 / 0.5991 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2082, allocations: 4 kB / 0.5991 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.2095, allocations: 299.4 kB / 0.5994 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/0.2096, allocations: 81.09 kB / 0.5994 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.2096, allocations: 8.188 kB / 0.5995 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.21, allocations: 39.98 kB / 0.5995 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.21, allocations: 7.984 kB / 0.5995 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.21, allocations: 0 / 0.5995 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.603e-05/0.2102, allocations: 79.28 kB / 0.5996 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.683e-06/0.2102, allocations: 0 / 0.5996 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002566/0.2104, allocations: 15.94 kB / 0.5996 GB, free: 3.613 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 (5): * Single equations (assignments): 5 * 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.0001768/0.2106, allocations: 107.2 kB / 0.5997 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.212, allocations: 183.8 kB / 0.5999 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.212, allocations: 0 / 0.5999 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006031/0.2126, allocations: 92.08 kB / 0.6 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.2128, allocations: 8 kB / 0.6 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.214, allocations: 220.8 kB / 0.6002 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.2143, allocations: 0.6768 MB / 0.6008 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002283/0.2146, allocations: 28.25 kB / 0.6009 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.888e-05/0.2146, allocations: 7.438 kB / 0.6009 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.2147, allocations: 4 kB / 0.6009 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of Templates: time 0.002974/0.2176, allocations: 0.8211 MB / 0.6017 GB, free: 1.426 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)