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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002829/0.002829, allocations: 177.6 kB / 7.459 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6073/0.6073, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.134/1.134, allocations: 221.3 MB / 395 MB, free: 10.14 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008019/0.0008018, allocations: 98.11 kB / 477.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.072e-05, allocations: 6 kB / 0.5529 GB, free: 89.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.12, allocations: 82.3 MB / 0.6332 GB, free: 14.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/0.4449, allocations: 110.4 MB / 0.741 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.4452, allocations: 76.62 kB / 0.7411 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.001888/0.4471, allocations: 0.5533 MB / 0.7416 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.4471, allocations: 0 / 0.7416 GB, free: 10.7 MB / 0.4948 GB 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.000215/0.4473, allocations: 312.9 kB / 0.7419 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.4473, allocations: 15.59 kB / 0.742 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.4474, allocations: 3.906 kB / 0.742 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.66e-05/0.4475, allocations: 167.4 kB / 0.7421 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.4475, allocations: 0 / 0.7421 GB, free: 26.15 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.4475, allocations: 7.906 kB / 0.7421 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.279e-05/0.4476, allocations: 9.141 kB / 0.7421 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.68e-05/0.4476, allocations: 29.33 kB / 0.7422 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4476, allocations: 4.547 kB / 0.7422 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.4477, allocations: 1.203 kB / 0.7422 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.4477, allocations: 7.891 kB / 0.7422 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001047/0.4478, allocations: 131.3 kB / 0.7423 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.4479, allocations: 30.47 kB / 0.7423 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.592e-05/0.4479, allocations: 9.391 kB / 0.7423 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.4481, allocations: 87.14 kB / 0.7424 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.4481, allocations: 31.36 kB / 0.7425 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4481, allocations: 0 / 0.7425 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.00241/0.4505, allocations: 359 kB / 0.7428 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/0.4505, allocations: 55.34 kB / 0.7429 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.142e-05/0.4506, allocations: 89.8 kB / 0.7429 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.4506, allocations: 29.64 kB / 0.743 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.068e-05/0.4506, allocations: 80.14 kB / 0.743 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.4507, allocations: 16.42 kB / 0.7431 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.4507, allocations: 0 / 0.7431 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.4508, allocations: 311.6 kB / 0.7434 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/0.4508, allocations: 11.78 kB / 0.7434 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.701e-05/0.4509, allocations: 27.8 kB / 0.7434 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.451, allocations: 17 kB / 0.7434 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.451, allocations: 0 / 0.7434 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001904/0.4512, allocations: 70.17 kB / 0.7435 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-06/0.4512, allocations: 8.234 kB / 0.7435 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4512, allocations: 0 / 0.7435 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.4512, allocations: 0 / 0.7435 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.4516, allocations: 50.83 kB / 0.7435 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.4516, allocations: 0.5625 kB / 0.7435 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.452, allocations: 46.12 kB / 0.7436 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.452, allocations: 0.6562 kB / 0.7436 GB, free: 25.05 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.451e-05/0.4521, allocations: 113.5 kB / 0.7437 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.4521, allocations: 8.391 kB / 0.7437 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000381/0.4525, allocations: 99.36 kB / 0.7438 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.4525, allocations: 0 / 0.7438 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4525, allocations: 0.9844 kB / 0.7438 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4525, allocations: 0 / 0.7438 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.4529, allocations: 292.1 kB / 0.7441 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4529, allocations: 0 / 0.7441 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.4533, allocations: 51.69 kB / 0.7441 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4533, allocations: 0 / 0.7441 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.4533, allocations: 7.875 kB / 0.7441 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.4533, allocations: 0.8438 kB / 0.7441 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.4533, allocations: 7.781 kB / 0.7441 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002049/0.4536, allocations: 153.2 kB / 0.7443 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.4536, allocations: 82.55 kB / 0.7444 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.4536, allocations: 7.906 kB / 0.7444 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.454, allocations: 36.86 kB / 0.7444 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.454, allocations: 9.391 kB / 0.7444 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.454, allocations: 3.188 kB / 0.7444 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.323e-05/0.4541, allocations: 83.06 kB / 0.7445 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002197/0.4543, allocations: 7.688 kB / 0.7445 GB, free: 24.27 MB / 0.5105 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 () * 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 (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.0001507/0.4544, allocations: 104.1 kB / 0.7446 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.4546, allocations: 24.94 kB / 0.7446 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.4546, allocations: 0 / 0.7446 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.439e-05/0.4546, allocations: 20.09 kB / 0.7446 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.4547, allocations: 6.656 kB / 0.7446 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005464/0.4553, allocations: 100.6 kB / 0.7447 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002907/0.4556, allocations: 0.6973 MB / 0.7454 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.4556, allocations: 0 / 0.7454 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of Templates: time 0.002638/0.4582, allocations: 1.326 MB / 0.7467 GB, free: 23.3 MB / 0.5105 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)