Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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/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/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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential") [: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.002233/0.002233, allocations: 175.2 kB / 7.451 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7035/0.7035, allocations: 130.6 MB / 138.5 MB, free: 2.297 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 221.3 MB / 391.4 MB, free: 13.07 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.0008707/0.0008707, allocations: 94.27 kB / 473.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.977e-06/8.987e-06, allocations: 2.469 kB / 0.5479 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.172, allocations: 81.57 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5502/0.7223, allocations: 110.3 MB / 0.7353 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.7226, allocations: 77.34 kB / 0.7354 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003936/0.7266, allocations: 1.046 MB / 0.7364 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.7266, allocations: 4 kB / 0.7364 GB, free: 11.55 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.0004131/0.727, allocations: 346.9 kB / 0.7367 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.7271, allocations: 7.688 kB / 0.7368 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.7271, allocations: 3.906 kB / 0.7368 GB, free: 27.19 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.7273, allocations: 172.3 kB / 0.7369 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.7273, allocations: 3.906 kB / 0.7369 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.7273, allocations: 0 / 0.7369 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.763e-05/0.7274, allocations: 13.12 kB / 0.7369 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.956e-05/0.7275, allocations: 38.89 kB / 0.737 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.7275, allocations: 0 / 0.737 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.7275, allocations: 0 / 0.737 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.7275, allocations: 7.75 kB / 0.737 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.728, allocations: 246.3 kB / 0.7372 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.274e-05/0.7281, allocations: 25.83 kB / 0.7372 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/0.7281, allocations: 13.02 kB / 0.7373 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.7282, allocations: 82.19 kB / 0.7373 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.7282, allocations: 34.44 kB / 0.7374 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.7283, allocations: 3.984 kB / 0.7374 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0002055/0.7285, allocations: 42.42 kB / 0.7374 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.807e-05/0.7286, allocations: 52.95 kB / 0.7375 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.019e-05/0.7287, allocations: 95.91 kB / 0.7376 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.7287, allocations: 29.61 kB / 0.7376 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.7287, allocations: 93.41 kB / 0.7377 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.7288, allocations: 0 / 0.7377 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.7288, allocations: 0 / 0.7377 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7289, allocations: 316.2 kB / 0.738 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.7289, allocations: 7.719 kB / 0.738 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.218e-05/0.729, allocations: 3.844 kB / 0.738 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.726e-05/0.729, allocations: 8.828 kB / 0.738 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.729, allocations: 0 / 0.738 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.215e-05/0.7291, allocations: 46.39 kB / 0.738 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.7291, allocations: 3.875 kB / 0.738 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.7291, allocations: 0 / 0.738 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7291, allocations: 3.938 kB / 0.738 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/0.7292, allocations: 10.81 kB / 0.7381 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.7293, allocations: 5.438 kB / 0.7381 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.339e-05/0.7293, allocations: 13.17 kB / 0.7381 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.7293, allocations: 5.25 kB / 0.7381 GB, free: 25.86 MB / 0.5105 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 () * 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 7.124e-05/0.7294, allocations: 101 kB / 0.7382 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.7294, allocations: 0.9844 kB / 0.7382 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.7296, allocations: 51.95 kB / 0.7382 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.7296, allocations: 0 / 0.7382 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7296, allocations: 0 / 0.7382 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.7296, allocations: 0 / 0.7382 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.7298, allocations: 139.5 kB / 0.7384 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.7298, allocations: 0 / 0.7384 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.7298, allocations: 14.41 kB / 0.7384 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.7298, allocations: 1.5 kB / 0.7384 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.188e-06/0.7299, allocations: 0 / 0.7384 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7299, allocations: 4.812 kB / 0.7384 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.7299, allocations: 3.906 kB / 0.7384 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000115/0.73, allocations: 140.3 kB / 0.7385 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.73, allocations: 84.92 kB / 0.7386 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.7301, allocations: 5.484 kB / 0.7386 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.634e-05/0.7302, allocations: 5.172 kB / 0.7386 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.7302, allocations: 9.078 kB / 0.7386 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.7302, allocations: 5.453 kB / 0.7386 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.658e-05/0.7302, allocations: 86.5 kB / 0.7387 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002342/0.7305, allocations: 20.77 kB / 0.7387 GB, free: 25.22 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 (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.0001667/0.7307, allocations: 103.5 kB / 0.7388 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.477e-05/0.7308, allocations: 18.56 kB / 0.7388 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.7308, allocations: 3.188 kB / 0.7388 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.178e-05/0.7308, allocations: 5.031 kB / 0.7388 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.731, allocations: 12.39 kB / 0.7389 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002577/0.7313, allocations: 63.09 kB / 0.7389 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.7316, allocations: 0.6925 MB / 0.7396 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.7316, allocations: 0 / 0.7396 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of Templates: time 0.002744/0.7343, allocations: 0.5162 MB / 0.7401 GB, free: 24.3 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)