Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001349/0.001349, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001639/0.001639, allocations: 216.2 kB / 23.01 MB, free: 5.113 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8619/0.8619, allocations: 134 MB / 447.2 MB, free: 10.26 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: IDEAS 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.002075/0.002075, allocations: 68.98 kB / 0.6198 GB, free: 6.695 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1605, allocations: 85.9 MB / 0.7037 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001687/0.1622, allocations: 0.5976 MB / 0.7043 GB, free: 284 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1638, allocations: 1.175 MB / 0.7054 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.94e-05/0.1638, allocations: 0 / 0.7054 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.1638, allocations: 4 kB / 0.7054 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.164, allocations: 11.88 kB / 0.7054 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.808e-06/0.164, allocations: 0 / 0.7054 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.973e-05/0.1641, allocations: 4 kB / 0.7055 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.663e-05/0.1641, allocations: 7.984 kB / 0.7055 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.88e-05/0.1641, allocations: 7.938 kB / 0.7055 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.237e-05/0.1642, allocations: 7.984 kB / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.412e-06/0.1642, allocations: 0 / 0.7055 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.1643, allocations: 19.92 kB / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.681e-06/0.1643, allocations: 0 / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.215e-05/0.1643, allocations: 0 / 0.7055 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.789e-05/0.1644, allocations: 27.84 kB / 0.7055 GB, free: 15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1644, allocations: 0 / 0.7055 GB, free: 15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1644, allocations: 0 / 0.7055 GB, free: 15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1644, allocations: 0 / 0.7055 GB, free: 15 MB / 0.5294 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.0002818/0.1647, allocations: 242.4 kB / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.1647, allocations: 16.03 kB / 0.7058 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.1647, allocations: 4.891 kB / 0.7058 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.454e-05/0.1648, allocations: 106.5 kB / 0.7059 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1648, allocations: 384 / 0.7059 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.1649, allocations: 4.375 kB / 0.7059 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.165, allocations: 45.88 kB / 0.7059 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.165, allocations: 0 / 0.7059 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.165, allocations: 0 / 0.7059 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.165, allocations: 0 / 0.7059 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.568e-05/0.165, allocations: 8 kB / 0.7059 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.1652, allocations: 128.8 kB / 0.7061 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1654, allocations: 34.55 kB / 0.7061 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.1654, allocations: 8.859 kB / 0.7061 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.1655, allocations: 4 kB / 0.7061 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1655, allocations: 38.58 kB / 0.7061 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.1655, allocations: 4 kB / 0.7061 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004713/0.1702, allocations: 0.5638 MB / 0.7067 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.1703, allocations: 55.39 kB / 0.7067 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.896e-05/0.1703, allocations: 89.86 kB / 0.7068 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1704, allocations: 25.7 kB / 0.7069 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.1704, allocations: 80.14 kB / 0.7069 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.1704, allocations: 23.8 kB / 0.707 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.838e-05/0.1705, allocations: 21.7 kB / 0.707 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1706, allocations: 318.8 kB / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006678/0.1713, allocations: 79.95 kB / 0.7074 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/0.1719, allocations: 103 kB / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.1732, allocations: 190.4 kB / 0.7076 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1732, allocations: 4 kB / 0.7076 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001294/0.1745, allocations: 217.5 kB / 0.7078 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1745, allocations: 4 kB / 0.7078 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1745, allocations: 4.25 kB / 0.7079 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.1745, allocations: 4 kB / 0.7079 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.175, allocations: 51.97 kB / 0.7079 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.175, allocations: 0 / 0.7079 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.1754, allocations: 39.98 kB / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.1754, allocations: 7.984 kB / 0.708 GB, free: 12.31 MB / 0.5294 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.0001041/0.1755, allocations: 113.8 kB / 0.7081 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.1755, allocations: 11.92 kB / 0.7081 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.1769, allocations: 229.1 kB / 0.7083 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1769, allocations: 4 kB / 0.7083 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1769, allocations: 0 / 0.7083 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1769, allocations: 0 / 0.7083 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.1785, allocations: 433.4 kB / 0.7087 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1785, allocations: 4 kB / 0.7087 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.1789, allocations: 47.97 kB / 0.7088 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1789, allocations: 0 / 0.7088 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.1789, allocations: 4 kB / 0.7088 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1789, allocations: 3.938 kB / 0.7088 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.179, allocations: 4 kB / 0.7088 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.1803, allocations: 307.3 kB / 0.7091 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.967e-06/0.1803, allocations: 4 kB / 0.7091 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1803, allocations: 3.984 kB / 0.7091 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.1807, allocations: 36.17 kB / 0.7091 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.1807, allocations: 4 kB / 0.7091 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.1807, allocations: 11.98 kB / 0.7091 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.561e-05/0.1807, allocations: 75.28 kB / 0.7092 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1807, allocations: 4 kB / 0.7092 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002599/0.181, allocations: 12 kB / 0.7092 GB, free: 10.95 MB / 0.5294 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.0001597/0.1812, allocations: 103.1 kB / 0.7093 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.1824, allocations: 183.8 kB / 0.7095 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1824, allocations: 0 / 0.7095 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000655/0.1831, allocations: 92.08 kB / 0.7096 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.1833, allocations: 0 / 0.7096 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.1845, allocations: 245.8 kB / 0.7098 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.1848, allocations: 0.6805 MB / 0.7105 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.894e-05/0.1849, allocations: 11.44 kB / 0.7105 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.1849, allocations: 0 / 0.7105 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of Templates: time 0.002763/0.1877, allocations: 1.102 MB / 0.7116 GB, free: 8.477 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.850333180045709] Failed to read output from testmodel.py, exit status != 0: 0.1955555840395391 0.210870988 0.043390735 Calling exit ...