Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001104/0.001104, allocations: 110.4 kB / 15.99 MB, free: 6.352 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.001084/0.001084, allocations: 198.5 kB / 16.91 MB, free: 6.184 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7921/0.7921, allocations: 135.1 MB / 425.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.89 kB / 0.5055 GB, free: 8.785 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3743, allocations: 80.92 MB / 0.5845 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002409/0.3768, allocations: 1.493 MB / 0.586 GB, free: 24.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006537/0.3775, allocations: 462.6 kB / 0.5864 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.3775, allocations: 0.875 kB / 0.5864 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.783e-05/0.3776, allocations: 3.984 kB / 0.5864 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.3776, allocations: 10.02 kB / 0.5864 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.3778, allocations: 15.39 kB / 0.5864 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.837e-05/0.3779, allocations: 26.28 kB / 0.5865 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.378, allocations: 11.08 kB / 0.5865 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.871e-05/0.3781, allocations: 6.812 kB / 0.5865 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.3781, allocations: 15.67 kB / 0.5865 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.3781, allocations: 1.344 kB / 0.5865 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.018e-05/0.3782, allocations: 29.06 kB / 0.5865 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.3782, allocations: 5.219 kB / 0.5865 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.3783, allocations: 10.59 kB / 0.5865 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.142e-05/0.3783, allocations: 19.34 kB / 0.5866 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3784, allocations: 1.312 kB / 0.5866 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3784, allocations: 0.8125 kB / 0.5866 GB, free: 23.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3784, allocations: 0 / 0.5866 GB, free: 23.86 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.0003565/0.3787, allocations: 342.1 kB / 0.5869 GB, free: 23.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3788, allocations: 11.14 kB / 0.5869 GB, free: 23.49 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.3788, allocations: 6.047 kB / 0.5869 GB, free: 23.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.328e-05/0.3789, allocations: 173.5 kB / 0.5871 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3789, allocations: 2.812 kB / 0.5871 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.3789, allocations: 1.75 kB / 0.5871 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3791, allocations: 54.08 kB / 0.5871 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.3791, allocations: 0 / 0.5871 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3791, allocations: 4.969 kB / 0.5871 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3791, allocations: 5.094 kB / 0.5871 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.3793, allocations: 31.94 kB / 0.5872 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.3796, allocations: 259.5 kB / 0.5874 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.3797, allocations: 35.25 kB / 0.5875 GB, free: 22.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.027e-05/0.3798, allocations: 33.14 kB / 0.5875 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.3799, allocations: 79.83 kB / 0.5876 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.3799, allocations: 37.12 kB / 0.5876 GB, free: 22.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3799, allocations: 0 / 0.5876 GB, free: 22.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003303/0.3803, allocations: 82.77 kB / 0.5877 GB, free: 22.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.3803, allocations: 53.88 kB / 0.5877 GB, free: 22.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.065e-05/0.3804, allocations: 102.6 kB / 0.5878 GB, free: 22.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.3804, allocations: 28.55 kB / 0.5879 GB, free: 22.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.3804, allocations: 85.3 kB / 0.5879 GB, free: 22.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.748e-05/0.3805, allocations: 5.062 kB / 0.5879 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.3805, allocations: 13.5 kB / 0.588 GB, free: 22.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.987e-05/0.3805, allocations: 316.2 kB / 0.5883 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.3806, allocations: 17.23 kB / 0.5883 GB, free: 22.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.859e-05/0.3807, allocations: 18.11 kB / 0.5883 GB, free: 22.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.3809, allocations: 50.91 kB / 0.5883 GB, free: 22.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3809, allocations: 0 / 0.5883 GB, free: 22.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001705/0.381, allocations: 65.11 kB / 0.5884 GB, free: 21.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3811, allocations: 7.281 kB / 0.5884 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3811, allocations: 3.984 kB / 0.5884 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.3811, allocations: 0 / 0.5884 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/0.3812, allocations: 10.02 kB / 0.5884 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3812, allocations: 2.531 kB / 0.5884 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.3812, allocations: 7.547 kB / 0.5884 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.3812, allocations: 1.344 kB / 0.5884 GB, free: 21.95 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.023e-05/0.3813, allocations: 117.5 kB / 0.5885 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.3813, allocations: 3.406 kB / 0.5885 GB, free: 21.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.3815, allocations: 71.09 kB / 0.5886 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3816, allocations: 0 / 0.5886 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3816, allocations: 1.438 kB / 0.5886 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3816, allocations: 0.6562 kB / 0.5886 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.3817, allocations: 161.5 kB / 0.5888 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3817, allocations: 2.219 kB / 0.5888 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.3818, allocations: 18.86 kB / 0.5888 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3818, allocations: 3.938 kB / 0.5888 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.3818, allocations: 2.875 kB / 0.5888 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3818, allocations: 0 / 0.5888 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3818, allocations: 0 / 0.5888 GB, free: 21.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.382, allocations: 170.3 kB / 0.589 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.382, allocations: 81.02 kB / 0.589 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.382, allocations: 3 kB / 0.589 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.3821, allocations: 10.98 kB / 0.589 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-05/0.3821, allocations: 1.156 kB / 0.589 GB, free: 21.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.3821, allocations: 4.656 kB / 0.5891 GB, free: 21.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.27e-05/0.3822, allocations: 79.12 kB / 0.5891 GB, free: 21.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3822, allocations: 0 / 0.5891 GB, free: 21.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.3824, allocations: 9.953 kB / 0.5891 GB, free: 21.22 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.0001362/0.3825, allocations: 105.6 kB / 0.5892 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.3828, allocations: 38.17 kB / 0.5893 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3828, allocations: 0.5312 kB / 0.5893 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.772e-05/0.3829, allocations: 21.05 kB / 0.5893 GB, free: 21.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.3832, allocations: 12.44 kB / 0.5893 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.3834, allocations: 132.9 kB / 0.5894 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.935e-05/0.3835, allocations: 0.6784 MB / 0.5901 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.102e-05/0.3836, allocations: 8.969 kB / 0.5901 GB, free: 20.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3836, allocations: 0.6875 kB / 0.5901 GB, free: 20.24 MB / 446.1 MB Notification: Performance of Templates: time 0.001945/0.3855, allocations: 0.6509 MB / 0.5907 GB, free: 19.95 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)