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.00125/0.00125, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001316/0.001317, allocations: 193.4 kB / 16.25 MB, free: 6.633 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 / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9676/0.9676, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001915, allocations: 63.98 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1554, allocations: 81.03 MB / 0.5845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.00253/0.1579, allocations: 1.485 MB / 0.5859 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006959/0.1586, allocations: 463.8 kB / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.801e-05/0.1587, allocations: 0 / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.1587, allocations: 0 / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/0.1588, allocations: 7.938 kB / 0.5864 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.159, allocations: 11.98 kB / 0.5864 GB, free: 2.352 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.581e-05/0.159, allocations: 31.86 kB / 0.5864 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.481e-05/0.1591, allocations: 8 kB / 0.5864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.217e-05/0.1592, allocations: 15.97 kB / 0.5865 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.931e-05/0.1592, allocations: 7.938 kB / 0.5865 GB, free: 2.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1592, allocations: 4 kB / 0.5865 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.05e-05/0.1593, allocations: 23.91 kB / 0.5865 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.1593, allocations: 4 kB / 0.5865 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.329e-05/0.1593, allocations: 11.94 kB / 0.5865 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.792e-05/0.1594, allocations: 35.88 kB / 0.5865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1594, allocations: 4 kB / 0.5866 GB, free: 2.207 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1594, allocations: 4 kB / 0.5866 GB, free: 2.203 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.858e-06/0.1595, allocations: 0 / 0.5866 GB, free: 2.203 MB / 494.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.0004226/0.1599, allocations: 339.7 kB / 0.5869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1599, allocations: 12.03 kB / 0.5869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.16, allocations: 4.938 kB / 0.5869 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.1601, allocations: 168.2 kB / 0.5871 GB, free: 1.605 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.1601, allocations: 4.375 kB / 0.5871 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.1601, allocations: 384 / 0.5871 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.1603, allocations: 65.91 kB / 0.5871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1603, allocations: 0 / 0.5871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.1603, allocations: 0 / 0.5871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.1603, allocations: 0 / 0.5871 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.1605, allocations: 35.95 kB / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.1608, allocations: 248.9 kB / 0.5874 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1609, allocations: 42.55 kB / 0.5874 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.42e-05/0.161, allocations: 24.84 kB / 0.5875 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.1611, allocations: 81.11 kB / 0.5875 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.1612, allocations: 38.55 kB / 0.5876 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1612, allocations: 0 / 0.5876 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003243/0.1615, allocations: 77.66 kB / 0.5876 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1616, allocations: 51.41 kB / 0.5877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.1616, allocations: 101.8 kB / 0.5878 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1617, allocations: 33.64 kB / 0.5878 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.1617, allocations: 84.14 kB / 0.5879 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.1617, allocations: 3.906 kB / 0.5879 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.1618, allocations: 17.83 kB / 0.5879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1619, allocations: 318.8 kB / 0.5882 GB, free: 260 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.162, allocations: 15.92 kB / 0.5882 GB, free: 244 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.1621, allocations: 19.98 kB / 0.5883 GB, free: 224 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1622, allocations: 40.75 kB / 0.5883 GB, free: 180 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1622, allocations: 4.062 kB / 0.5883 GB, free: 176 kB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/0.1624, allocations: 69.56 kB / 0.5884 GB, free: 100 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1624, allocations: 8 kB / 0.5884 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1624, allocations: 0 / 0.5884 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1625, allocations: 0 / 0.5884 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.1625, allocations: 4 kB / 0.5884 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1626, allocations: 4 kB / 0.5884 GB, free: 84 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.419e-05/0.1626, allocations: 7.922 kB / 0.5884 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1626, allocations: 12.02 kB / 0.5884 GB, free: 64 kB / 494.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 0.000105/0.1627, allocations: 117.7 kB / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.1628, allocations: 0 / 0.5885 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.163, allocations: 76.77 kB / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.163, allocations: 0 / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.163, allocations: 0 / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.163, allocations: 256 / 0.5886 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1632, allocations: 165.6 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1632, allocations: 4 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/0.1632, allocations: 11.92 kB / 0.5888 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1633, allocations: 0 / 0.5888 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.66e-06/0.1633, allocations: 0 / 0.5888 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1633, allocations: 4 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1633, allocations: 0 / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1635, allocations: 171.4 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.1636, allocations: 81.02 kB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1636, allocations: 0 / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.1637, allocations: 7.984 kB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.1637, allocations: 0 / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1637, allocations: 4 kB / 0.589 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.116e-05/0.1638, allocations: 91.2 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1638, allocations: 0 / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002083/0.164, allocations: 8.031 kB / 0.5891 GB, free: 15.23 MB / 0.4981 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.0001309/0.1641, allocations: 103.2 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.1643, allocations: 39.89 kB / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1643, allocations: 0 / 0.5893 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.798e-05/0.1644, allocations: 19.98 kB / 0.5893 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.1647, allocations: 12.06 kB / 0.5893 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.1649, allocations: 113.5 kB / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.1652, allocations: 0.6768 MB / 0.5901 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.135e-05/0.1653, allocations: 0 / 0.5901 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.1653, allocations: 11.44 kB / 0.5901 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1653, allocations: 0 / 0.5901 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.002564/0.1679, allocations: 0.5111 MB / 0.5906 GB, free: 13.7 MB / 0.4981 GB 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)