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.001094/0.001094, allocations: 107.5 kB / 16.36 MB, free: 6.285 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.00123/0.00123, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8233/0.8233, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3753, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002861/0.3782, allocations: 1.43 MB / 0.5829 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008297/0.3791, allocations: 474.2 kB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.3791, allocations: 1.938 kB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.3792, allocations: 3.938 kB / 0.5833 GB, free: 26.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.673e-05/0.3792, allocations: 5.188 kB / 0.5833 GB, free: 26.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.3795, allocations: 22.58 kB / 0.5834 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.141e-05/0.3796, allocations: 30.19 kB / 0.5834 GB, free: 26.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3797, allocations: 8.312 kB / 0.5834 GB, free: 26.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.73e-05/0.3798, allocations: 16.08 kB / 0.5834 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.3799, allocations: 11.8 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3799, allocations: 1.219 kB / 0.5834 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.38, allocations: 22.89 kB / 0.5835 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.38, allocations: 1.656 kB / 0.5835 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.3801, allocations: 10.47 kB / 0.5835 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.3802, allocations: 37.78 kB / 0.5835 GB, free: 26.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3802, allocations: 2.125 kB / 0.5835 GB, free: 26.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3802, allocations: 0 / 0.5835 GB, free: 26.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3802, allocations: 0 / 0.5835 GB, free: 26.03 MB / 446.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.000422/0.3807, allocations: 340 kB / 0.5838 GB, free: 25.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3807, allocations: 10.12 kB / 0.5838 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.3807, allocations: 10.08 kB / 0.5838 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.96e-05/0.3808, allocations: 168 kB / 0.584 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3809, allocations: 4.312 kB / 0.584 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.3809, allocations: 7.078 kB / 0.584 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.381, allocations: 51.38 kB / 0.5841 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3811, allocations: 0 / 0.5841 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.3811, allocations: 0 / 0.5841 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3811, allocations: 1.531 kB / 0.5841 GB, free: 25.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.3812, allocations: 35.92 kB / 0.5841 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.3815, allocations: 252.9 kB / 0.5843 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.3817, allocations: 41.41 kB / 0.5844 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.925e-05/0.3817, allocations: 23.62 kB / 0.5844 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.3819, allocations: 84.25 kB / 0.5845 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.3819, allocations: 38.28 kB / 0.5845 GB, free: 24.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.3819, allocations: 0 / 0.5845 GB, free: 24.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003302/0.3822, allocations: 85.42 kB / 0.5846 GB, free: 24.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.3823, allocations: 57.62 kB / 0.5847 GB, free: 24.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.3823, allocations: 100.4 kB / 0.5848 GB, free: 24.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.3823, allocations: 25.7 kB / 0.5848 GB, free: 24.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.3824, allocations: 94.69 kB / 0.5849 GB, free: 24.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.527e-05/0.3824, allocations: 4.938 kB / 0.5849 GB, free: 24.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.3824, allocations: 12.94 kB / 0.5849 GB, free: 24.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.445e-05/0.3825, allocations: 316.2 kB / 0.5852 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/0.3826, allocations: 13.42 kB / 0.5852 GB, free: 24.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.3826, allocations: 23.25 kB / 0.5852 GB, free: 24.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.3828, allocations: 41.58 kB / 0.5853 GB, free: 24.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3828, allocations: 0 / 0.5853 GB, free: 24.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001706/0.383, allocations: 65.81 kB / 0.5853 GB, free: 24.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.383, allocations: 10.44 kB / 0.5853 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.383, allocations: 0 / 0.5853 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.383, allocations: 1.219 kB / 0.5853 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.3831, allocations: 11.11 kB / 0.5853 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3831, allocations: 0 / 0.5853 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.065e-05/0.3831, allocations: 5.062 kB / 0.5854 GB, free: 24.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.3832, allocations: 0 / 0.5854 GB, free: 24.13 MB / 446.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 5.1e-05/0.3832, allocations: 122.5 kB / 0.5855 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.3832, allocations: 1.219 kB / 0.5855 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.3835, allocations: 71.38 kB / 0.5855 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.3835, allocations: 1.344 kB / 0.5855 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3835, allocations: 0.9375 kB / 0.5855 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3835, allocations: 1.125 kB / 0.5855 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.3836, allocations: 169.9 kB / 0.5857 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3836, allocations: 1.25 kB / 0.5857 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.3837, allocations: 9.781 kB / 0.5857 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3837, allocations: 2.969 kB / 0.5857 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.3837, allocations: 0 / 0.5857 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3837, allocations: 5.359 kB / 0.5857 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3837, allocations: 0 / 0.5857 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.3839, allocations: 162.5 kB / 0.5859 GB, free: 23.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-05/0.3839, allocations: 87.12 kB / 0.586 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.384, allocations: 0 / 0.586 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.774e-05/0.384, allocations: 4.312 kB / 0.586 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.3841, allocations: 11.23 kB / 0.586 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.3841, allocations: 0.625 kB / 0.586 GB, free: 23.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.753e-05/0.3841, allocations: 79.19 kB / 0.5861 GB, free: 23.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3841, allocations: 5.125 kB / 0.5861 GB, free: 23.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.3844, allocations: 13.59 kB / 0.5861 GB, free: 23.39 MB / 446.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.0001573/0.3845, allocations: 106.6 kB / 0.5862 GB, free: 23.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.3848, allocations: 39.16 kB / 0.5862 GB, free: 23.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3848, allocations: 0 / 0.5862 GB, free: 23.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.3849, allocations: 19.64 kB / 0.5862 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.3852, allocations: 17.86 kB / 0.5862 GB, free: 23.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002876/0.3855, allocations: 104.9 kB / 0.5863 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.3856, allocations: 0.6745 MB / 0.587 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.683e-05/0.3857, allocations: 1.75 kB / 0.587 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.873e-05/0.3857, allocations: 8.688 kB / 0.587 GB, free: 22.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3857, allocations: 2.531 kB / 0.587 GB, free: 22.45 MB / 446.1 MB Notification: Performance of Templates: time 0.002778/0.3885, allocations: 0.5557 MB / 0.5876 GB, free: 22.18 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)