Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001919/0.001919, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.002339/0.002339, allocations: 211.7 kB / 23.75 MB, free: 4.445 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.569/1.569, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.958/0.958, allocations: 149.9 MB / 463.8 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: IBPSA 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.002046/0.002046, allocations: 62.81 kB / 0.6423 GB, free: 9.656 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1857, allocations: 89.17 MB / 0.7294 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001713/0.1874, allocations: 0.5934 MB / 0.73 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1889, allocations: 1.132 MB / 0.7311 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.189, allocations: 0 / 0.7311 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.085e-05/0.189, allocations: 0 / 0.7311 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.1892, allocations: 23.88 kB / 0.7311 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.496e-06/0.1892, allocations: 0 / 0.7311 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.707e-05/0.1892, allocations: 7.938 kB / 0.7311 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.1893, allocations: 3.984 kB / 0.7311 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.481e-05/0.1893, allocations: 3.984 kB / 0.7311 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.418e-05/0.1893, allocations: 11.94 kB / 0.7311 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.863e-06/0.1893, allocations: 0 / 0.7311 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.543e-05/0.1894, allocations: 12 kB / 0.7312 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.1894, allocations: 3.984 kB / 0.7312 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.25e-05/0.1894, allocations: 3.938 kB / 0.7312 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.04e-05/0.1895, allocations: 7.984 kB / 0.7312 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1895, allocations: 0 / 0.7312 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1895, allocations: 0 / 0.7312 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1895, allocations: 4 kB / 0.7312 GB, free: 14.73 MB / 0.5606 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.0002936/0.1898, allocations: 242.4 kB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.1898, allocations: 8.031 kB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.1901, allocations: 20.91 kB / 0.7314 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.506e-05/0.1902, allocations: 110.5 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1902, allocations: 4.312 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.1902, allocations: 4.375 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.869e-05/0.1903, allocations: 38 kB / 0.7316 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1903, allocations: 0 / 0.7316 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1903, allocations: 4 kB / 0.7316 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1903, allocations: 0 / 0.7316 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.962e-05/0.1904, allocations: 11.92 kB / 0.7316 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.1905, allocations: 105.3 kB / 0.7317 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1907, allocations: 38.61 kB / 0.7317 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.099e-05/0.1907, allocations: 4.859 kB / 0.7317 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1907, allocations: 4 kB / 0.7317 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1907, allocations: 30.56 kB / 0.7318 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1907, allocations: 0 / 0.7318 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.00391/0.1946, allocations: 0.5445 MB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.1947, allocations: 55.34 kB / 0.7324 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.1947, allocations: 93.86 kB / 0.7324 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.1948, allocations: 29.7 kB / 0.7325 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.1948, allocations: 80.14 kB / 0.7326 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.1948, allocations: 19.78 kB / 0.7326 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.74e-05/0.1949, allocations: 21.72 kB / 0.7326 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.195, allocations: 314.8 kB / 0.7329 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006057/0.1957, allocations: 87.95 kB / 0.733 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/0.1963, allocations: 102.6 kB / 0.7331 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.1975, allocations: 198.4 kB / 0.7333 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1975, allocations: 0 / 0.7333 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001281/0.1987, allocations: 213.6 kB / 0.7335 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.1988, allocations: 14.12 kB / 0.7335 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1988, allocations: 0 / 0.7335 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1988, allocations: 0 / 0.7335 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.1992, allocations: 56 kB / 0.7335 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.1992, allocations: 0 / 0.7335 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.1996, allocations: 39.98 kB / 0.7336 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1996, allocations: 3.984 kB / 0.7336 GB, free: 12.09 MB / 0.5606 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.838e-05/0.1997, allocations: 109.8 kB / 0.7337 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.1997, allocations: 3.938 kB / 0.7337 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.456e-05/0.1998, allocations: 15.59 kB / 0.7337 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1998, allocations: 3.938 kB / 0.7337 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1998, allocations: 4 kB / 0.7337 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1998, allocations: 0 / 0.7337 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.2014, allocations: 406 kB / 0.7341 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.2014, allocations: 0 / 0.7341 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.2018, allocations: 51.97 kB / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2018, allocations: 0 / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2018, allocations: 0 / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2018, allocations: 0 / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2018, allocations: 0 / 0.7341 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/0.2031, allocations: 319.3 kB / 0.7344 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.174e-06/0.2032, allocations: 3.984 kB / 0.7345 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.2032, allocations: 4.25 kB / 0.7345 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.2036, allocations: 39.98 kB / 0.7345 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.2036, allocations: 4 kB / 0.7345 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.2036, allocations: 7.984 kB / 0.7345 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.592e-05/0.2036, allocations: 75.28 kB / 0.7346 GB, free: 11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2036, allocations: 0 / 0.7346 GB, free: 11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002404/0.2039, allocations: 8 kB / 0.7346 GB, free: 10.99 MB / 0.5606 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.0001325/0.204, allocations: 95.25 kB / 0.7347 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.2053, allocations: 187.9 kB / 0.7349 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2053, allocations: 0 / 0.7349 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006069/0.2059, allocations: 84.08 kB / 0.7349 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.2061, allocations: 7.938 kB / 0.7349 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.2073, allocations: 247.4 kB / 0.7352 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.961e-05/0.2074, allocations: 59.34 kB / 0.7352 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.939e-05/0.2075, allocations: 11.44 kB / 0.7352 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.2075, allocations: 0 / 0.7352 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.00264/0.2101, allocations: 1.094 MB / 0.7363 GB, free: 9.156 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.002255712170154] Failed to read output from testmodel.py, exit status != 0: 0.21841467963531613 0.23292600199999997 0.04036952199999994 Calling exit ...