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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 114.8 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 187.6 kB / 22.98 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 251.8 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9153/0.9153, allocations: 149.6 MB / 456.6 MB, free: 1.152 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(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: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 70.03 kB / 0.6329 GB, free: 8.879 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1699, allocations: 87.87 MB / 0.7187 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002311/0.1722, allocations: 0.5901 MB / 0.7193 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1738, allocations: 1.116 MB / 0.7204 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.837e-05/0.1738, allocations: 0 / 0.7204 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.536e-05/0.1738, allocations: 0 / 0.7204 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.1741, allocations: 27.92 kB / 0.7204 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.927e-06/0.1741, allocations: 0 / 0.7204 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.329e-05/0.1742, allocations: 11.92 kB / 0.7204 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.1742, allocations: 0 / 0.7204 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.809e-05/0.1742, allocations: 0 / 0.7204 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.108e-05/0.1742, allocations: 7.938 kB / 0.7204 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.1743, allocations: 0 / 0.7204 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1744, allocations: 23.92 kB / 0.7204 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.375e-06/0.1744, allocations: 0 / 0.7204 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.1744, allocations: 7.922 kB / 0.7204 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.1745, allocations: 11.98 kB / 0.7205 GB, free: 15.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1745, allocations: 0 / 0.7205 GB, free: 15.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.874e-06/0.1745, allocations: 4 kB / 0.7205 GB, free: 15.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.1745, allocations: 3.938 kB / 0.7205 GB, free: 15.11 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.0003646/0.1749, allocations: 242.4 kB / 0.7207 GB, free: 14.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1749, allocations: 8.625 kB / 0.7207 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.175, allocations: 0.9375 kB / 0.7207 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.1751, allocations: 106.5 kB / 0.7208 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1751, allocations: 384 / 0.7208 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.1751, allocations: 8.359 kB / 0.7208 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.1753, allocations: 42 kB / 0.7209 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.1753, allocations: 4 kB / 0.7209 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1753, allocations: 0 / 0.7209 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1753, allocations: 0 / 0.7209 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.393e-05/0.1754, allocations: 11.92 kB / 0.7209 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001851/0.1755, allocations: 120.8 kB / 0.721 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.1758, allocations: 30.61 kB / 0.721 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.1758, allocations: 12.86 kB / 0.721 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.1759, allocations: 8.078 kB / 0.721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.1759, allocations: 38.5 kB / 0.7211 GB, free: 14.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.176, allocations: 0 / 0.7211 GB, free: 14.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.004208/0.1802, allocations: 0.5676 MB / 0.7216 GB, free: 13.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.1802, allocations: 59.34 kB / 0.7217 GB, free: 13.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.285e-05/0.1803, allocations: 93.86 kB / 0.7218 GB, free: 13.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1803, allocations: 25.7 kB / 0.7218 GB, free: 13.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.439e-05/0.1803, allocations: 80.14 kB / 0.7219 GB, free: 13.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.1804, allocations: 19.83 kB / 0.7219 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.1804, allocations: 21.7 kB / 0.7219 GB, free: 13.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1805, allocations: 314.8 kB / 0.7222 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005711/0.1811, allocations: 83.95 kB / 0.7223 GB, free: 13.06 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005906/0.1817, allocations: 102.5 kB / 0.7224 GB, free: 12.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.1828, allocations: 186.4 kB / 0.7226 GB, free: 12.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1828, allocations: 0 / 0.7226 GB, free: 12.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001205/0.184, allocations: 221.5 kB / 0.7228 GB, free: 12.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.184, allocations: 8 kB / 0.7228 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1841, allocations: 0 / 0.7228 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1841, allocations: 0 / 0.7228 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/0.1844, allocations: 52 kB / 0.7228 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1845, allocations: 7.875 kB / 0.7228 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.1848, allocations: 43.97 kB / 0.7229 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.1848, allocations: 0 / 0.7229 GB, free: 12.43 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.772e-05/0.1849, allocations: 113.8 kB / 0.723 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.1849, allocations: 7.891 kB / 0.723 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.1862, allocations: 245.3 kB / 0.7232 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1862, allocations: 0 / 0.7232 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.1862, allocations: 0 / 0.7232 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1862, allocations: 3.984 kB / 0.7232 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.1877, allocations: 425.5 kB / 0.7236 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1877, allocations: 0 / 0.7236 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003606/0.188, allocations: 52.39 kB / 0.7237 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.188, allocations: 0 / 0.7237 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.188, allocations: 3.984 kB / 0.7237 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.188, allocations: 0 / 0.7237 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.188, allocations: 0 / 0.7237 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.1893, allocations: 307.4 kB / 0.724 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.1893, allocations: 7.984 kB / 0.724 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.1893, allocations: 4 kB / 0.724 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.1897, allocations: 35.98 kB / 0.724 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.805e-05/0.1897, allocations: 3.984 kB / 0.724 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.1897, allocations: 7.938 kB / 0.724 GB, free: 11.15 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.361e-05/0.1897, allocations: 75.28 kB / 0.7241 GB, free: 11.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1897, allocations: 0 / 0.7241 GB, free: 11.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002364/0.19, allocations: 12 kB / 0.7241 GB, free: 11.07 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.0001508/0.1901, allocations: 107.2 kB / 0.7242 GB, free: 10.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.1913, allocations: 183.9 kB / 0.7244 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1913, allocations: 0 / 0.7244 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005731/0.1919, allocations: 92.02 kB / 0.7245 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1921, allocations: 7.625 kB / 0.7245 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.1932, allocations: 209 kB / 0.7247 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1935, allocations: 0.6768 MB / 0.7254 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.1937, allocations: 28.31 kB / 0.7254 GB, free: 9.715 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.984e-05/0.1938, allocations: 11.44 kB / 0.7254 GB, free: 9.703 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.1938, allocations: 0 / 0.7254 GB, free: 9.703 MB / 0.545 GB Notification: Performance of Templates: time 0.003002/0.1968, allocations: 0.849 MB / 0.7262 GB, free: 8.859 MB / 0.545 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: 5.2056193286553025] Failed to read output from testmodel.py, exit status != 0: 0.20463301334530115 0.21893774100000002 0.041416866000000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f138eedd7b0>