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.001651/0.001651, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002174/0.002174, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.674/1.674, 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/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.9161/0.9161, allocations: 134 MB / 446.4 MB, free: 9.895 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.002133/0.002133, allocations: 72 kB / 0.619 GB, free: 6.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1927, allocations: 85.91 MB / 0.7029 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002699/0.1954, allocations: 0.5847 MB / 0.7035 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.1976, allocations: 1.132 MB / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.408e-05/0.1977, allocations: 0 / 0.7046 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.1977, allocations: 3.938 kB / 0.7046 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.198, allocations: 15.92 kB / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.137e-06/0.198, allocations: 0 / 0.7046 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.883e-05/0.198, allocations: 8 kB / 0.7046 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.933e-05/0.1981, allocations: 0 / 0.7046 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.304e-05/0.1981, allocations: 3.984 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.421e-05/0.1982, allocations: 7.938 kB / 0.7046 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.1982, allocations: 7.938 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1983, allocations: 15.92 kB / 0.7046 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.1983, allocations: 0 / 0.7046 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.1983, allocations: 0 / 0.7046 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.1985, allocations: 19.91 kB / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1985, allocations: 0 / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1985, allocations: 3.938 kB / 0.7047 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.1985, allocations: 0 / 0.7047 GB, free: 14.7 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.0003735/0.1988, allocations: 246.4 kB / 0.7049 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1989, allocations: 8.031 kB / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.1989, allocations: 8.891 kB / 0.7049 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.54e-05/0.199, allocations: 110.5 kB / 0.705 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.199, allocations: 384 / 0.705 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.1991, allocations: 4.375 kB / 0.705 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1992, allocations: 41.94 kB / 0.7051 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1992, allocations: 8 kB / 0.7051 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1992, allocations: 0 / 0.7051 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.1992, allocations: 0 / 0.7051 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.234e-05/0.1993, allocations: 4 kB / 0.7051 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1994, allocations: 97.33 kB / 0.7052 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.1997, allocations: 34.55 kB / 0.7052 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.1997, allocations: 16.86 kB / 0.7052 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001394/0.1999, allocations: 8.078 kB / 0.7052 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.1999, allocations: 30.56 kB / 0.7053 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.1999, allocations: 4 kB / 0.7053 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004388/0.2043, allocations: 0.5718 MB / 0.7058 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.2043, allocations: 51.41 kB / 0.7059 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.292e-05/0.2044, allocations: 89.86 kB / 0.706 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.2044, allocations: 25.7 kB / 0.706 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.2044, allocations: 84.14 kB / 0.7061 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.2045, allocations: 27.78 kB / 0.7061 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.2045, allocations: 13.72 kB / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.2047, allocations: 314.8 kB / 0.7064 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/0.2053, allocations: 79.95 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005975/0.2059, allocations: 110.5 kB / 0.7066 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.207, allocations: 190.4 kB / 0.7068 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.207, allocations: 0 / 0.7068 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001269/0.2083, allocations: 209.6 kB / 0.707 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2083, allocations: 11.94 kB / 0.707 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.2083, allocations: 0 / 0.707 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2084, allocations: 0 / 0.707 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.2087, allocations: 59.88 kB / 0.707 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.2088, allocations: 3.984 kB / 0.707 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.2091, allocations: 39.98 kB / 0.7071 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.2091, allocations: 0 / 0.7071 GB, free: 12.05 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.0001009/0.2092, allocations: 121.8 kB / 0.7072 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.2092, allocations: 3.938 kB / 0.7072 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.2106, allocations: 237.1 kB / 0.7074 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2106, allocations: 0 / 0.7074 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2106, allocations: 0 / 0.7074 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.2106, allocations: 0 / 0.7074 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.2121, allocations: 410.3 kB / 0.7078 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2121, allocations: 0 / 0.7078 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000389/0.2125, allocations: 47.97 kB / 0.7079 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.2125, allocations: 4 kB / 0.7079 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.502e-05/0.2125, allocations: 3.984 kB / 0.7079 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2125, allocations: 0 / 0.7079 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2125, allocations: 0 / 0.7079 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.2138, allocations: 311.3 kB / 0.7082 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.2138, allocations: 0 / 0.7082 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.2139, allocations: 0 / 0.7082 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.2142, allocations: 39.98 kB / 0.7082 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.2142, allocations: 7.984 kB / 0.7082 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.2143, allocations: 4 kB / 0.7082 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.534e-05/0.2143, allocations: 75.28 kB / 0.7083 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2143, allocations: 0 / 0.7083 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000257/0.2146, allocations: 12 kB / 0.7083 GB, free: 10.73 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.000194/0.2147, allocations: 107.2 kB / 0.7084 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.216, allocations: 179.8 kB / 0.7086 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.216, allocations: 192 / 0.7086 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.2166, allocations: 91.95 kB / 0.7087 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.2168, allocations: 3.938 kB / 0.7087 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.2181, allocations: 213 kB / 0.7089 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.068e-05/0.2181, allocations: 67.2 kB / 0.7089 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.2183, allocations: 28 kB / 0.7089 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.2184, allocations: 11.44 kB / 0.709 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.2184, allocations: 7.875 kB / 0.709 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of Templates: time 0.003556/0.2219, allocations: 0.82 MB / 0.7098 GB, free: 9.172 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: 6.066227005794644] Failed to read output from testmodel.py, exit status != 0: 0.22984524630010128 0.245547219 0.043952379 Calling exit ...