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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 212.2 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9553/0.9553, allocations: 145 MB / 457.4 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 68.77 kB / 0.6336 GB, free: 6.137 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1709, allocations: 87.89 MB / 0.7194 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001841/0.1727, allocations: 0.5955 MB / 0.72 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1742, allocations: 1.136 MB / 0.7211 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.1742, allocations: 0 / 0.7211 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.1742, allocations: 4 kB / 0.7211 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1745, allocations: 19.86 kB / 0.7211 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.1745, allocations: 0 / 0.7211 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.582e-05/0.1745, allocations: 3.938 kB / 0.7211 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.1745, allocations: 4 kB / 0.7212 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.406e-05/0.1745, allocations: 3.984 kB / 0.7212 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.107e-05/0.1746, allocations: 4 kB / 0.7212 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.281e-06/0.1746, allocations: 0 / 0.7212 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.635e-05/0.1747, allocations: 15.92 kB / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.105e-06/0.1747, allocations: 0 / 0.7212 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.362e-05/0.1747, allocations: 11.94 kB / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.231e-05/0.1748, allocations: 15.97 kB / 0.7212 GB, free: 12.44 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1748, allocations: 0 / 0.7212 GB, free: 12.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1748, allocations: 0 / 0.7212 GB, free: 12.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.1748, allocations: 0 / 0.7212 GB, free: 12.44 MB / 0.545 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.000291/0.1751, allocations: 242.4 kB / 0.7214 GB, free: 12.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1751, allocations: 8.031 kB / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.1751, allocations: 0.9375 kB / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.206e-05/0.1752, allocations: 106.5 kB / 0.7215 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1752, allocations: 4.375 kB / 0.7215 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1753, allocations: 384 / 0.7215 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.1754, allocations: 45.94 kB / 0.7216 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1754, allocations: 0 / 0.7216 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1754, allocations: 0 / 0.7216 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1754, allocations: 0 / 0.7216 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.209e-05/0.1754, allocations: 8 kB / 0.7216 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.1755, allocations: 97.33 kB / 0.7217 GB, free: 11.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.1757, allocations: 38.55 kB / 0.7217 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.1757, allocations: 8.859 kB / 0.7217 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.1758, allocations: 16.08 kB / 0.7218 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.1759, allocations: 30.56 kB / 0.7218 GB, free: 11.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.905e-06/0.1759, allocations: 4 kB / 0.7218 GB, free: 11.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.00411/0.18, allocations: 0.5791 MB / 0.7224 GB, free: 11.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.18, allocations: 55.41 kB / 0.7224 GB, free: 11.08 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.756e-05/0.1801, allocations: 93.8 kB / 0.7225 GB, free: 10.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1801, allocations: 25.7 kB / 0.7225 GB, free: 10.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.1801, allocations: 80.14 kB / 0.7226 GB, free: 10.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.1802, allocations: 19.89 kB / 0.7226 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.1802, allocations: 13.72 kB / 0.7226 GB, free: 10.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.1804, allocations: 314.8 kB / 0.7229 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/0.181, allocations: 83.95 kB / 0.723 GB, free: 10.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005823/0.1815, allocations: 106.5 kB / 0.7231 GB, free: 10.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.1827, allocations: 186.4 kB / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1827, allocations: 3.984 kB / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001212/0.1839, allocations: 213.6 kB / 0.7235 GB, free: 9.902 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1839, allocations: 7.938 kB / 0.7235 GB, free: 9.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1839, allocations: 4 kB / 0.7235 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1839, allocations: 0 / 0.7235 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003914/0.1843, allocations: 48 kB / 0.7236 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1843, allocations: 7.984 kB / 0.7236 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.1847, allocations: 35.98 kB / 0.7236 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1847, allocations: 4 kB / 0.7236 GB, free: 9.797 MB / 0.545 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 9.858e-05/0.1848, allocations: 117.8 kB / 0.7237 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.1848, allocations: 4.359 kB / 0.7237 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.1862, allocations: 237.1 kB / 0.7239 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1862, allocations: 0 / 0.7239 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1862, allocations: 4.25 kB / 0.7239 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1862, allocations: 3.984 kB / 0.7239 GB, free: 9.418 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.1877, allocations: 413.9 kB / 0.7243 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1877, allocations: 0 / 0.7243 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003764/0.188, allocations: 47.97 kB / 0.7244 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.188, allocations: 0 / 0.7244 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.1881, allocations: 7.984 kB / 0.7244 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1881, allocations: 4 kB / 0.7244 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1881, allocations: 0 / 0.7244 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.1893, allocations: 311.3 kB / 0.7247 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-06/0.1893, allocations: 0 / 0.7247 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.1894, allocations: 0 / 0.7247 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.1897, allocations: 43.92 kB / 0.7247 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.1897, allocations: 3.984 kB / 0.7247 GB, free: 8.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.1898, allocations: 4 kB / 0.7247 GB, free: 8.547 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.353e-05/0.1898, allocations: 75.28 kB / 0.7248 GB, free: 8.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1898, allocations: 0 / 0.7248 GB, free: 8.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002463/0.19, allocations: 16 kB / 0.7248 GB, free: 8.457 MB / 0.545 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.0001743/0.1902, allocations: 103.2 kB / 0.7249 GB, free: 8.344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.1914, allocations: 179.9 kB / 0.7251 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1914, allocations: 3.938 kB / 0.7251 GB, free: 8.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005932/0.192, allocations: 88.08 kB / 0.7252 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.1923, allocations: 10.12 kB / 0.7252 GB, free: 8.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.1935, allocations: 208.8 kB / 0.7254 GB, free: 7.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.729e-05/0.1935, allocations: 67.34 kB / 0.7255 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.1937, allocations: 24 kB / 0.7255 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.269e-05/0.1938, allocations: 11.42 kB / 0.7255 GB, free: 7.719 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1938, allocations: 8 kB / 0.7255 GB, free: 7.711 MB / 0.545 GB Notification: Performance of Templates: time 0.003271/0.197, allocations: 0.8187 MB / 0.7263 GB, free: 6.91 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4062757305800915] Failed to read output from testmodel.py, exit status != 0: 0.20549334771931171 0.21959401 0.041829167 Calling exit ...