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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008956/0.0008956, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009712/0.0009712, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6656/0.6656, allocations: 132.3 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 9.406 kB / 0.5034 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3208, allocations: 81.58 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001165/0.322, allocations: 1.147 MB / 0.5842 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005161/0.3225, allocations: 452.9 kB / 0.5846 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.518e-05/0.3225, allocations: 0.7812 kB / 0.5846 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.3226, allocations: 0.6094 kB / 0.5846 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.685e-05/0.3226, allocations: 5.531 kB / 0.5846 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/0.3228, allocations: 15.78 kB / 0.5846 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.802e-05/0.3228, allocations: 22.66 kB / 0.5847 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.112e-05/0.3229, allocations: 7.984 kB / 0.5847 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.645e-05/0.3229, allocations: 9.922 kB / 0.5847 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.608e-05/0.323, allocations: 21.16 kB / 0.5847 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.323, allocations: 1.719 kB / 0.5847 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.481e-05/0.3231, allocations: 17.3 kB / 0.5847 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-06/0.3231, allocations: 1.984 kB / 0.5847 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.531e-05/0.3231, allocations: 30.86 kB / 0.5848 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.357e-05/0.3232, allocations: 22.44 kB / 0.5848 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3232, allocations: 0.6562 kB / 0.5848 GB, free: 2.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3232, allocations: 0.7188 kB / 0.5848 GB, free: 2.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.3232, allocations: 4 kB / 0.5848 GB, free: 2.719 MB / 430.1 MB 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.0002896/0.3235, allocations: 342.7 kB / 0.5851 GB, free: 2.363 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.3235, allocations: 10.22 kB / 0.5851 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.526e-05/0.3235, allocations: 6.078 kB / 0.5851 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.709e-05/0.3236, allocations: 172.9 kB / 0.5853 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.3236, allocations: 0.625 kB / 0.5853 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-06/0.3236, allocations: 2.047 kB / 0.5853 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.3238, allocations: 57.03 kB / 0.5853 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3238, allocations: 5.266 kB / 0.5853 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.3238, allocations: 0 / 0.5853 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.3238, allocations: 0.6094 kB / 0.5853 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.324, allocations: 51.14 kB / 0.5854 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002126/0.3242, allocations: 251.4 kB / 0.5856 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.3243, allocations: 41.11 kB / 0.5857 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.411e-05/0.3244, allocations: 33.77 kB / 0.5857 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.976e-05/0.3245, allocations: 82.03 kB / 0.5858 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.123e-05/0.3245, allocations: 32.44 kB / 0.5858 GB, free: 1.645 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.3245, allocations: 0 / 0.5858 GB, free: 1.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002964/0.3248, allocations: 106.3 kB / 0.5859 GB, free: 1.594 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.3248, allocations: 57.23 kB / 0.586 GB, free: 1.527 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.85e-05/0.3249, allocations: 101.4 kB / 0.5861 GB, free: 1.426 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.3249, allocations: 26.86 kB / 0.5861 GB, free: 1.395 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.343e-05/0.3249, allocations: 90.73 kB / 0.5862 GB, free: 1.305 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.3249, allocations: 4.938 kB / 0.5862 GB, free: 1.301 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.325, allocations: 0 / 0.5862 GB, free: 1.301 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.236e-05/0.325, allocations: 313.4 kB / 0.5865 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.481e-05/0.3251, allocations: 22.94 kB / 0.5865 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.3251, allocations: 23.66 kB / 0.5865 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.812e-05/0.3252, allocations: 22.33 kB / 0.5866 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3252, allocations: 1.375 kB / 0.5866 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001606/0.3254, allocations: 80.8 kB / 0.5866 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.3254, allocations: 5.75 kB / 0.5866 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.3254, allocations: 0 / 0.5866 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-06/0.3254, allocations: 0.7969 kB / 0.5866 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.3255, allocations: 14.94 kB / 0.5867 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.3255, allocations: 0.9375 kB / 0.5867 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.3256, allocations: 17.08 kB / 0.5867 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.3256, allocations: 0 / 0.5867 GB, free: 0.9219 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.647e-05/0.3256, allocations: 113.3 kB / 0.5868 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.3256, allocations: 5.844 kB / 0.5868 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.3258, allocations: 85 kB / 0.5869 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3258, allocations: 0.8906 kB / 0.5869 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3258, allocations: 1.281 kB / 0.5869 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.3258, allocations: 0 / 0.5869 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.843e-05/0.326, allocations: 163.7 kB / 0.587 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.326, allocations: 1.891 kB / 0.587 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.326, allocations: 11.05 kB / 0.587 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.326, allocations: 1.031 kB / 0.587 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.326, allocations: 8.594 kB / 0.587 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.326, allocations: 1.062 kB / 0.587 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.326, allocations: 0 / 0.587 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.3262, allocations: 173.5 kB / 0.5872 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.545e-05/0.3262, allocations: 83.23 kB / 0.5873 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.709e-06/0.3263, allocations: 3.938 kB / 0.5873 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.3263, allocations: 8.984 kB / 0.5873 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.3264, allocations: 6.969 kB / 0.5873 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3264, allocations: 0 / 0.5873 GB, free: 308 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.875e-05/0.3264, allocations: 81.3 kB / 0.5874 GB, free: 232 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3264, allocations: 0 / 0.5874 GB, free: 232 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.3266, allocations: 14.5 kB / 0.5874 GB, free: 224 kB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001063/0.3267, allocations: 97.53 kB / 0.5875 GB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.3269, allocations: 44.95 kB / 0.5875 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3269, allocations: 4.062 kB / 0.5875 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.327, allocations: 22.3 kB / 0.5876 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.3273, allocations: 15.8 kB / 0.5876 GB, free: 116 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.3275, allocations: 115.1 kB / 0.5877 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.3277, allocations: 0.6807 MB / 0.5883 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.152e-05/0.3278, allocations: 2.031 kB / 0.5884 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.66e-05/0.3278, allocations: 8.25 kB / 0.5884 GB, free: 15.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3278, allocations: 0 / 0.5884 GB, free: 15.29 MB / 446.1 MB Notification: Performance of Templates: time 0.002194/0.33, allocations: 489.7 kB / 0.5888 GB, free: 15.21 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (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)