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.00108/0.00108, 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.001348/0.001348, 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.421/1.421, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9387/0.9387, allocations: 135.3 MB / 426.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004966, allocations: 12.66 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1877, allocations: 82.3 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001842/0.1896, allocations: 1.144 MB / 0.5885 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008203/0.1905, allocations: 445.9 kB / 0.5889 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.1905, allocations: 0 / 0.5889 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.165e-05/0.1906, allocations: 3.938 kB / 0.5889 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.595e-05/0.1906, allocations: 3.938 kB / 0.5889 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.1909, allocations: 15.98 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.071e-05/0.1909, allocations: 19.92 kB / 0.589 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.663e-05/0.191, allocations: 11.98 kB / 0.589 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.1911, allocations: 11.92 kB / 0.589 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.799e-05/0.1912, allocations: 11.94 kB / 0.589 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1912, allocations: 4 kB / 0.589 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.959e-05/0.1913, allocations: 19.97 kB / 0.589 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.1913, allocations: 0 / 0.589 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.1913, allocations: 29.7 kB / 0.589 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.316e-05/0.1914, allocations: 23.95 kB / 0.5891 GB, free: 1.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1914, allocations: 0 / 0.5891 GB, free: 1.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1914, allocations: 0 / 0.5891 GB, free: 1.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1914, allocations: 0 / 0.5891 GB, free: 1.242 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.0004584/0.1919, allocations: 351.5 kB / 0.5894 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.192, allocations: 8.031 kB / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.192, allocations: 0 / 0.5894 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.1921, allocations: 167 kB / 0.5896 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1921, allocations: 4 kB / 0.5896 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.1922, allocations: 0 / 0.5896 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1923, allocations: 57.67 kB / 0.5896 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1924, allocations: 4 kB / 0.5896 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.1924, allocations: 0 / 0.5896 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1924, allocations: 0 / 0.5896 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.1926, allocations: 43.95 kB / 0.5897 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.1929, allocations: 260.8 kB / 0.5899 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.1931, allocations: 46.5 kB / 0.59 GB, free: 172 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.465e-05/0.1931, allocations: 24.91 kB / 0.59 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.1933, allocations: 89.09 kB / 0.5901 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.1933, allocations: 30.56 kB / 0.5901 GB, free: 16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1933, allocations: 0 / 0.5901 GB, free: 16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003654/0.1937, allocations: 105.7 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.1937, allocations: 51.41 kB / 0.5902 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.549e-05/0.1938, allocations: 101.9 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1939, allocations: 25.7 kB / 0.5904 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/0.1939, allocations: 84.12 kB / 0.5905 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.1939, allocations: 7.906 kB / 0.5905 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.1939, allocations: 0 / 0.5905 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1941, allocations: 322.8 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-05/0.1942, allocations: 15.98 kB / 0.5908 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.476e-05/0.1942, allocations: 27.97 kB / 0.5908 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/0.1943, allocations: 27.98 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1944, allocations: 0 / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001967/0.1946, allocations: 77.61 kB / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1946, allocations: 7.984 kB / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1946, allocations: 4.031 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.1946, allocations: 0 / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.479e-05/0.1947, allocations: 8 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1947, allocations: 0 / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.1948, allocations: 15.92 kB / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.1948, allocations: 0 / 0.5909 GB, free: 15.08 MB / 0.4981 GB 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 8.534e-05/0.1949, allocations: 109.8 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.1949, allocations: 11.91 kB / 0.5911 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.1952, allocations: 88.75 kB / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1952, allocations: 0 / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1952, allocations: 0 / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.1952, allocations: 4.031 kB / 0.5911 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.1954, allocations: 161.8 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1954, allocations: 4 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.85e-05/0.1954, allocations: 15.98 kB / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1954, allocations: 0 / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.1955, allocations: 3.938 kB / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1955, allocations: 0 / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1955, allocations: 0 / 0.5913 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.1957, allocations: 179.5 kB / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.1958, allocations: 77.11 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.1958, allocations: 0 / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.1959, allocations: 12.02 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.1959, allocations: 8 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.1959, allocations: 0 / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.605e-05/0.196, allocations: 83.27 kB / 0.5917 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.196, allocations: 0 / 0.5917 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002466/0.1963, allocations: 8 kB / 0.5917 GB, free: 14.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 (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.0001687/0.1964, allocations: 99.19 kB / 0.5918 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1967, allocations: 55.95 kB / 0.5918 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1967, allocations: 0 / 0.5918 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.1968, allocations: 19.98 kB / 0.5918 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1971, allocations: 19.03 kB / 0.5919 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000274/0.1974, allocations: 108.6 kB / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.1977, allocations: 0.677 MB / 0.5926 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.1977, allocations: 3.938 kB / 0.5926 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.1977, allocations: 11.44 kB / 0.5926 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1977, allocations: 3.938 kB / 0.5926 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.002577/0.2003, allocations: 483.4 kB / 0.5931 GB, free: 12.71 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)