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.001304/0.001304, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001417/0.001417, allocations: 221.1 kB / 23 MB, free: 4.914 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.404/1.404, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.8319/0.8319, allocations: 134 MB / 447.2 MB, free: 9.977 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.002046/0.002046, allocations: 74.67 kB / 0.6197 GB, free: 6.363 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1638, allocations: 85.9 MB / 0.7036 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.00195/0.1658, allocations: 0.6017 MB / 0.7042 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.1674, allocations: 1.132 MB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.667e-05/0.1674, allocations: 3.938 kB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.1674, allocations: 0 / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.1676, allocations: 11.94 kB / 0.7053 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.516e-06/0.1677, allocations: 0 / 0.7053 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.675e-05/0.1677, allocations: 11.94 kB / 0.7054 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.1677, allocations: 3.984 kB / 0.7054 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.1677, allocations: 4 kB / 0.7054 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.21e-05/0.1678, allocations: 3.984 kB / 0.7054 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.1678, allocations: 0 / 0.7054 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.907e-05/0.1679, allocations: 11.94 kB / 0.7054 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.776e-06/0.1679, allocations: 0 / 0.7054 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.262e-05/0.1679, allocations: 3.938 kB / 0.7054 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.112e-05/0.168, allocations: 23.91 kB / 0.7054 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.168, allocations: 0 / 0.7054 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.168, allocations: 0 / 0.7054 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.168, allocations: 4 kB / 0.7054 GB, free: 14.72 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.0002882/0.1683, allocations: 246.4 kB / 0.7056 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.1683, allocations: 12.03 kB / 0.7057 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.1683, allocations: 4.891 kB / 0.7057 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.006e-05/0.1684, allocations: 110.4 kB / 0.7058 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1684, allocations: 4.375 kB / 0.7058 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1685, allocations: 384 / 0.7058 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.1686, allocations: 42 kB / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1686, allocations: 0 / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.1686, allocations: 0 / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.1686, allocations: 0 / 0.7058 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.932e-05/0.1686, allocations: 11.98 kB / 0.7058 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.1688, allocations: 101.3 kB / 0.7059 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1689, allocations: 34.55 kB / 0.7059 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.169, allocations: 12.86 kB / 0.706 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.1691, allocations: 4 kB / 0.706 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1691, allocations: 30.66 kB / 0.706 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 2.895e-06/0.1691, allocations: 7.922 kB / 0.706 GB, free: 14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004093/0.1732, allocations: 0.5715 MB / 0.7066 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.1732, allocations: 59.39 kB / 0.7066 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.645e-05/0.1733, allocations: 89.86 kB / 0.7067 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.1733, allocations: 25.7 kB / 0.7067 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.1734, allocations: 80.14 kB / 0.7068 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/0.1734, allocations: 23.8 kB / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.1735, allocations: 21.7 kB / 0.7068 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1736, allocations: 310.8 kB / 0.7071 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005908/0.1742, allocations: 83.95 kB / 0.7072 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005931/0.1748, allocations: 102.5 kB / 0.7073 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.176, allocations: 190.4 kB / 0.7075 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.176, allocations: 0 / 0.7075 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001239/0.1772, allocations: 217.6 kB / 0.7077 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1772, allocations: 7.938 kB / 0.7077 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1772, allocations: 192 / 0.7077 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1772, allocations: 4 kB / 0.7077 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.1776, allocations: 52 kB / 0.7078 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1776, allocations: 3.938 kB / 0.7078 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.178, allocations: 39.98 kB / 0.7078 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.178, allocations: 7.984 kB / 0.7078 GB, free: 12.06 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 9.751e-05/0.1781, allocations: 109.8 kB / 0.7079 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.1781, allocations: 7.938 kB / 0.7079 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.1795, allocations: 229.1 kB / 0.7081 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1795, allocations: 4 kB / 0.7082 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1795, allocations: 0 / 0.7082 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1795, allocations: 4 kB / 0.7082 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.1809, allocations: 406 kB / 0.7085 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1809, allocations: 0 / 0.7085 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.1813, allocations: 51.91 kB / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1813, allocations: 0 / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1813, allocations: 0 / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1813, allocations: 0 / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1813, allocations: 4 kB / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.1826, allocations: 311.3 kB / 0.7089 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-06/0.1826, allocations: 4 kB / 0.7089 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.1826, allocations: 3.938 kB / 0.7089 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.183, allocations: 44.16 kB / 0.7089 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.183, allocations: 4 kB / 0.7089 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.1831, allocations: 0 / 0.7089 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.1831, allocations: 79.28 kB / 0.709 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1831, allocations: 0 / 0.709 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002438/0.1833, allocations: 12 kB / 0.709 GB, free: 10.75 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.0001639/0.1835, allocations: 103.2 kB / 0.7091 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.1847, allocations: 179.9 kB / 0.7093 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1847, allocations: 4 kB / 0.7093 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005933/0.1853, allocations: 92.06 kB / 0.7094 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.1855, allocations: 11.22 kB / 0.7094 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1867, allocations: 238.6 kB / 0.7096 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.551e-05/0.1867, allocations: 63.2 kB / 0.7097 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.1868, allocations: 19.42 kB / 0.7097 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1868, allocations: 4 kB / 0.7097 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of Templates: time 0.002803/0.1896, allocations: 1.1 MB / 0.7108 GB, free: 8.891 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.40486282389611] Failed to read output from testmodel.py, exit status != 0: 0.19676710618659854 0.212125796 0.040913172000000005 Calling exit ...