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.001197/0.001197, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 195.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7362/0.7362, allocations: 132.2 MB / 422.6 MB, free: 1.742 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001435, allocations: 67.7 kB / 0.5018 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.396, allocations: 80.2 MB / 0.5801 GB, free: 4.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002384/0.3984, allocations: 1.419 MB / 0.5815 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000673/0.3991, allocations: 474.3 kB / 0.5819 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.527e-05/0.3991, allocations: 0.8438 kB / 0.5819 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.3991, allocations: 4.594 kB / 0.5819 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.3992, allocations: 8.766 kB / 0.5819 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.3994, allocations: 23.42 kB / 0.582 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.928e-05/0.3995, allocations: 25.27 kB / 0.582 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.21e-05/0.3996, allocations: 5.062 kB / 0.582 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/0.3996, allocations: 13.3 kB / 0.582 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.3997, allocations: 17.48 kB / 0.582 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.3997, allocations: 2.594 kB / 0.582 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.326e-05/0.3998, allocations: 22.59 kB / 0.582 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.3998, allocations: 5.891 kB / 0.5821 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.3998, allocations: 15.92 kB / 0.5821 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.379e-05/0.3999, allocations: 26.08 kB / 0.5821 GB, free: 3.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.3999, allocations: 0 / 0.5821 GB, free: 3.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3999, allocations: 0.875 kB / 0.5821 GB, free: 3.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.3999, allocations: 0 / 0.5821 GB, free: 3.121 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.0003257/0.4002, allocations: 348.3 kB / 0.5824 GB, free: 2.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.4003, allocations: 9.625 kB / 0.5824 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.4003, allocations: 10.06 kB / 0.5824 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.807e-05/0.4004, allocations: 171.7 kB / 0.5826 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.4004, allocations: 5.812 kB / 0.5826 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.4004, allocations: 1.125 kB / 0.5826 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.4006, allocations: 53.08 kB / 0.5827 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.4006, allocations: 0 / 0.5827 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.4006, allocations: 1.672 kB / 0.5827 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4006, allocations: 4 kB / 0.5827 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.4008, allocations: 33.41 kB / 0.5827 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.401, allocations: 251.1 kB / 0.5829 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.4012, allocations: 37.2 kB / 0.583 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.794e-05/0.4013, allocations: 28.09 kB / 0.583 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.4014, allocations: 82.42 kB / 0.5831 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.642e-05/0.4014, allocations: 40.02 kB / 0.5831 GB, free: 2.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4014, allocations: 0 / 0.5831 GB, free: 2.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003299/0.4017, allocations: 88.64 kB / 0.5832 GB, free: 1.988 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.4018, allocations: 56.78 kB / 0.5833 GB, free: 1.922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.593e-05/0.4018, allocations: 102.9 kB / 0.5834 GB, free: 1.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.092e-06/0.4018, allocations: 25.7 kB / 0.5834 GB, free: 1.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.223e-05/0.4018, allocations: 86.14 kB / 0.5835 GB, free: 1.703 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.4019, allocations: 1.375 kB / 0.5835 GB, free: 1.703 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.4019, allocations: 17.14 kB / 0.5835 GB, free: 1.684 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.963e-05/0.402, allocations: 313.1 kB / 0.5838 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.402, allocations: 25.59 kB / 0.5838 GB, free: 1.359 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.4021, allocations: 15.22 kB / 0.5838 GB, free: 1.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.4023, allocations: 41.14 kB / 0.5839 GB, free: 1.344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4023, allocations: 0 / 0.5839 GB, free: 1.344 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000183/0.4025, allocations: 75.94 kB / 0.5839 GB, free: 1.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.4025, allocations: 11.5 kB / 0.5839 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4025, allocations: 0 / 0.5839 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4025, allocations: 2 kB / 0.5839 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.094e-05/0.4026, allocations: 8.812 kB / 0.584 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4026, allocations: 3.984 kB / 0.584 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.4027, allocations: 6.578 kB / 0.584 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.4027, allocations: 0.8438 kB / 0.584 GB, free: 1.289 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/0.4027, allocations: 115.7 kB / 0.5841 GB, free: 1.168 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.4028, allocations: 5.5 kB / 0.5841 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.403, allocations: 77.23 kB / 0.5842 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.403, allocations: 0 / 0.5842 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.403, allocations: 0 / 0.5842 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.403, allocations: 1.766 kB / 0.5842 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.4031, allocations: 159.8 kB / 0.5843 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4031, allocations: 0.9844 kB / 0.5843 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.522e-05/0.4032, allocations: 8.609 kB / 0.5843 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4032, allocations: 4.75 kB / 0.5843 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.4032, allocations: 0.6562 kB / 0.5843 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4032, allocations: 0.75 kB / 0.5843 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4032, allocations: 1.344 kB / 0.5843 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/0.4034, allocations: 162.8 kB / 0.5845 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.4034, allocations: 86.88 kB / 0.5846 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.4035, allocations: 4.656 kB / 0.5846 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.4035, allocations: 6.406 kB / 0.5846 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.4036, allocations: 2.859 kB / 0.5846 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.4036, allocations: 1.281 kB / 0.5846 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.261e-05/0.4036, allocations: 88.67 kB / 0.5847 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4036, allocations: 0 / 0.5847 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.4038, allocations: 6.125 kB / 0.5847 GB, free: 0.5898 MB / 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 (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.0001215/0.404, allocations: 102 kB / 0.5848 GB, free: 0.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.4042, allocations: 43.62 kB / 0.5848 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4042, allocations: 0 / 0.5848 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.417e-05/0.4043, allocations: 17.05 kB / 0.5848 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.4046, allocations: 11.61 kB / 0.5848 GB, free: 492 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.4048, allocations: 117.3 kB / 0.5849 GB, free: 372 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.405, allocations: 0.6758 MB / 0.5856 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.403e-05/0.405, allocations: 2.625 kB / 0.5856 GB, free: 15.67 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.774e-05/0.405, allocations: 8.406 kB / 0.5856 GB, free: 15.66 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4051, allocations: 0 / 0.5856 GB, free: 15.66 MB / 446.1 MB Notification: Performance of Templates: time 0.002569/0.4076, allocations: 0.5628 MB / 0.5862 GB, free: 15.59 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)