Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.001815/0.001815, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.002393/0.002393, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 8.102 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.8417/0.8417, allocations: 134 MB / 447.2 MB, free: 10.29 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.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [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.00235/0.00235, allocations: 62.69 kB / 0.6198 GB, free: 6.762 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.162, allocations: 85.91 MB / 0.7037 GB, free: 0.9258 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002951/0.165, allocations: 1.467 MB / 0.7051 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.166, allocations: 0.5035 MB / 0.7056 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.166, allocations: 4 kB / 0.7056 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.1661, allocations: 3.938 kB / 0.7056 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.333e-05/0.1661, allocations: 0 / 0.7056 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000216/0.1663, allocations: 23.92 kB / 0.7056 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.134e-05/0.1664, allocations: 23.92 kB / 0.7056 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.1665, allocations: 4 kB / 0.7057 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.472e-05/0.1666, allocations: 15.92 kB / 0.7057 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.1666, allocations: 19.91 kB / 0.7057 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1666, allocations: 7.938 kB / 0.7057 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.39e-05/0.1667, allocations: 23.92 kB / 0.7057 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.1667, allocations: 4 kB / 0.7057 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.008e-05/0.1667, allocations: 3.938 kB / 0.7057 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.1668, allocations: 43.81 kB / 0.7058 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1668, allocations: 0 / 0.7058 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1668, allocations: 0 / 0.7058 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1668, allocations: 0 / 0.7058 GB, free: 14.76 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.0004366/0.1673, allocations: 268.9 kB / 0.706 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1673, allocations: 12.03 kB / 0.706 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.396e-05/0.1673, allocations: 4.891 kB / 0.706 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1674, allocations: 106.5 kB / 0.7061 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1675, allocations: 4.375 kB / 0.7061 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.1675, allocations: 4.359 kB / 0.7061 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1676, allocations: 57.92 kB / 0.7062 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1676, allocations: 0 / 0.7062 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1676, allocations: 4 kB / 0.7062 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1677, allocations: 0 / 0.7062 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.1678, allocations: 35.95 kB / 0.7062 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.1682, allocations: 220 kB / 0.7065 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1683, allocations: 42.48 kB / 0.7065 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.649e-05/0.1684, allocations: 20.91 kB / 0.7065 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.411e-05/0.1685, allocations: 8 kB / 0.7065 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.1685, allocations: 30.56 kB / 0.7066 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1685, allocations: 0 / 0.7066 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003501/0.1689, allocations: 85.59 kB / 0.7066 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.1689, allocations: 51.41 kB / 0.7067 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.561e-05/0.169, allocations: 110 kB / 0.7068 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.169, allocations: 29.64 kB / 0.7068 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.1691, allocations: 80.14 kB / 0.7069 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1691, allocations: 15.89 kB / 0.7069 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.1691, allocations: 9.719 kB / 0.7069 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1693, allocations: 318.8 kB / 0.7072 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.362e-05/0.1693, allocations: 15.98 kB / 0.7072 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.538e-05/0.1694, allocations: 15.98 kB / 0.7072 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.1696, allocations: 44.75 kB / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1696, allocations: 3.938 kB / 0.7073 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001909/0.1698, allocations: 65.67 kB / 0.7074 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1698, allocations: 4 kB / 0.7074 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.1698, allocations: 4.094 kB / 0.7074 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1698, allocations: 0 / 0.7074 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.464e-05/0.1699, allocations: 15.92 kB / 0.7074 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.1699, allocations: 3.938 kB / 0.7074 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.1699, allocations: 8.234 kB / 0.7074 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.1699, allocations: 0 / 0.7074 GB, free: 12.91 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 8.6e-05/0.17, allocations: 113.8 kB / 0.7075 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1701, allocations: 0 / 0.7075 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.1703, allocations: 80.97 kB / 0.7076 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1703, allocations: 0 / 0.7076 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1703, allocations: 0 / 0.7076 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1703, allocations: 3.984 kB / 0.7076 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.1705, allocations: 132.6 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1705, allocations: 0 / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.16e-05/0.1705, allocations: 11.98 kB / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1705, allocations: 0 / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.1705, allocations: 3.969 kB / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1705, allocations: 4 kB / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1705, allocations: 0 / 0.7077 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.1708, allocations: 163.5 kB / 0.7079 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.1708, allocations: 4 kB / 0.7079 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.1708, allocations: 0 / 0.7079 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.1709, allocations: 12.02 kB / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.1709, allocations: 4 kB / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1709, allocations: 0 / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.962e-05/0.171, allocations: 83.27 kB / 0.708 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.171, allocations: 0 / 0.708 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002253/0.1712, allocations: 8 kB / 0.708 GB, free: 12.23 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 (2): * Single equations (assignments): 2 * 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.0001467/0.1713, allocations: 99.19 kB / 0.7081 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1716, allocations: 47.89 kB / 0.7081 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1716, allocations: 0 / 0.7081 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.39e-05/0.1717, allocations: 15.98 kB / 0.7081 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1719, allocations: 15.88 kB / 0.7082 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002978/0.1722, allocations: 131.4 kB / 0.7083 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.1725, allocations: 0.6884 MB / 0.709 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.1726, allocations: 7.438 kB / 0.709 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1726, allocations: 0 / 0.709 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of Templates: time 0.002197/0.1748, allocations: 0.66 MB / 0.7096 GB, free: 10.5 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.815829398110509] Failed to read output from testmodel.py, exit status != 0: 0.18285470711998641 0.198994793 0.028850313000000002 Calling exit ...