Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001515/0.001515, allocations: 195.6 kB / 16.26 MB, free: 6.625 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 135.1 MB / 425.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 64.41 kB / 0.5049 GB, free: 5.613 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.221, allocations: 80.94 MB / 0.5839 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002969/0.2241, allocations: 0.631 MB / 0.5845 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.2262, allocations: 1.102 MB / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.2263, allocations: 0 / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.2263, allocations: 0 / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.2267, allocations: 27.91 kB / 0.5856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.34e-06/0.2267, allocations: 0 / 0.5856 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.841e-05/0.2268, allocations: 4 kB / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.804e-05/0.2269, allocations: 0 / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.727e-05/0.2269, allocations: 3.938 kB / 0.5856 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.68e-05/0.227, allocations: 4 kB / 0.5856 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.227, allocations: 4 kB / 0.5856 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.2272, allocations: 27.89 kB / 0.5857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.2272, allocations: 0 / 0.5857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.2272, allocations: 0 / 0.5857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.2274, allocations: 15.92 kB / 0.5857 GB, free: 3.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.2274, allocations: 3.938 kB / 0.5857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.2274, allocations: 0 / 0.5857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.2274, allocations: 0 / 0.5857 GB, free: 3.004 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.0004941/0.2279, allocations: 315.6 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.228, allocations: 12.03 kB / 0.586 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.228, allocations: 4.922 kB / 0.586 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.2282, allocations: 168.4 kB / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.2282, allocations: 4.375 kB / 0.5862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.2282, allocations: 384 / 0.5862 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.2284, allocations: 41.94 kB / 0.5862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.2284, allocations: 3.906 kB / 0.5862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.2284, allocations: 0 / 0.5862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2284, allocations: 0 / 0.5862 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.069e-05/0.2285, allocations: 8 kB / 0.5862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.2288, allocations: 153.7 kB / 0.5864 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.2291, allocations: 34.72 kB / 0.5864 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.2291, allocations: 16.84 kB / 0.5864 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001813/0.2293, allocations: 85.05 kB / 0.5865 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.2294, allocations: 38.5 kB / 0.5865 GB, free: 1.957 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.2294, allocations: 0 / 0.5865 GB, free: 1.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.005143/0.2345, allocations: 0.5718 MB / 0.5871 GB, free: 1.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.2346, allocations: 51.41 kB / 0.5871 GB, free: 1.316 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.2346, allocations: 89.86 kB / 0.5872 GB, free: 1.219 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.2347, allocations: 25.7 kB / 0.5873 GB, free: 1.188 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.2347, allocations: 84.12 kB / 0.5873 GB, free: 1.102 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.2348, allocations: 15.81 kB / 0.5874 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.265e-05/0.2349, allocations: 13.72 kB / 0.5874 GB, free: 1.066 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.235, allocations: 318.8 kB / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/0.2357, allocations: 87.89 kB / 0.5878 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007446/0.2365, allocations: 102.5 kB / 0.5879 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.2381, allocations: 190.4 kB / 0.588 GB, free: 364 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.2381, allocations: 4 kB / 0.588 GB, free: 360 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001661/0.2398, allocations: 221.4 kB / 0.5882 GB, free: 132 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.2398, allocations: 4 kB / 0.5883 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2398, allocations: 0 / 0.5883 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/0.2399, allocations: 0 / 0.5883 GB, free: 128 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.2404, allocations: 52.42 kB / 0.5883 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.2404, allocations: 0 / 0.5883 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.2408, allocations: 39.98 kB / 0.5883 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.2408, allocations: 4 kB / 0.5883 GB, free: 32 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001541/0.241, allocations: 117.8 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.241, allocations: 7.938 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.2428, allocations: 237 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.2428, allocations: 3.984 kB / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2429, allocations: 0 / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2429, allocations: 0 / 0.5887 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.2449, allocations: 458.4 kB / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.245, allocations: 320 / 0.5891 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004634/0.2454, allocations: 51.97 kB / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2454, allocations: 0 / 0.5892 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.2455, allocations: 8 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.2455, allocations: 0 / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2455, allocations: 0 / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.2471, allocations: 307.3 kB / 0.5895 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.2471, allocations: 81.02 kB / 0.5896 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.2472, allocations: 7.984 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004378/0.2476, allocations: 35.98 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.258e-05/0.2477, allocations: 4 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.2477, allocations: 4 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.835e-05/0.2478, allocations: 83.27 kB / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2478, allocations: 0 / 0.5897 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003957/0.2482, allocations: 8 kB / 0.5897 GB, free: 14.54 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 (5): * Single equations (assignments): 5 * 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.000221/0.2484, allocations: 99.25 kB / 0.5898 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.2499, allocations: 199.8 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.25, allocations: 0 / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007297/0.2507, allocations: 88.08 kB / 0.5901 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.2511, allocations: 0 / 0.5901 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2525, allocations: 224.9 kB / 0.5903 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.2529, allocations: 0.6768 MB / 0.5909 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003456/0.2532, allocations: 28 kB / 0.591 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.461e-05/0.2533, allocations: 11.44 kB / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.2533, allocations: 0 / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.004054/0.2574, allocations: 0.8084 MB / 0.5918 GB, free: 12.37 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)