Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001723/0.001723, allocations: 178.8 kB / 7.462 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6008/0.6008, 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.133/1.133, allocations: 221.3 MB / 395 MB, free: 10.06 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.0008578/0.0008579, allocations: 105.6 kB / 477.8 MB, free: 10.66 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.805e-06/7.915e-06, allocations: 2.406 kB / 0.5528 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1209, allocations: 82.3 MB / 0.6332 GB, free: 13.94 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3216/0.4425, allocations: 110.6 MB / 0.7412 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001665/0.4427, allocations: 75.22 kB / 0.7413 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003112/0.4458, allocations: 1.052 MB / 0.7423 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.4459, allocations: 0 / 0.7423 GB, free: 10.9 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.0003303/0.4462, allocations: 342.8 kB / 0.7426 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.673e-05/0.4462, allocations: 7.625 kB / 0.7426 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.4463, allocations: 7.812 kB / 0.7426 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.4464, allocations: 168.3 kB / 0.7428 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.4464, allocations: 3.906 kB / 0.7428 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.4464, allocations: 5.938 kB / 0.7428 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.12e-05/0.4465, allocations: 7.812 kB / 0.7428 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.602e-05/0.4465, allocations: 32.44 kB / 0.7428 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4465, allocations: 7.75 kB / 0.7429 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.4465, allocations: 4 kB / 0.7429 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.4465, allocations: 0 / 0.7429 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.4469, allocations: 245.4 kB / 0.7431 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.698e-05/0.4469, allocations: 30.02 kB / 0.7431 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.824e-05/0.4469, allocations: 8.766 kB / 0.7431 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.307e-05/0.447, allocations: 82.5 kB / 0.7432 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.447, allocations: 35.84 kB / 0.7432 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.447, allocations: 0 / 0.7432 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001375/0.4472, allocations: 45.12 kB / 0.7433 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.213e-05/0.4472, allocations: 55.44 kB / 0.7433 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.62e-05/0.4473, allocations: 98.2 kB / 0.7434 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.4473, allocations: 25.7 kB / 0.7435 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.678e-05/0.4473, allocations: 89.12 kB / 0.7435 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.4473, allocations: 0 / 0.7435 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.4474, allocations: 0 / 0.7435 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.4474, allocations: 315.9 kB / 0.7438 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.4475, allocations: 6.281 kB / 0.7438 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.081e-05/0.4475, allocations: 11.72 kB / 0.7439 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.4475, allocations: 4.641 kB / 0.7439 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4475, allocations: 0 / 0.7439 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.971e-05/0.4476, allocations: 43.28 kB / 0.7439 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.361e-06/0.4476, allocations: 3.875 kB / 0.7439 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.4476, allocations: 0 / 0.7439 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.4476, allocations: 0.6562 kB / 0.7439 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.4477, allocations: 23.06 kB / 0.7439 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.4477, allocations: 0 / 0.7439 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.283e-05/0.4478, allocations: 17.61 kB / 0.7439 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.227e-06/0.4478, allocations: 0 / 0.7439 GB, free: 25.22 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 5.215e-05/0.4479, allocations: 101.6 kB / 0.744 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.4479, allocations: 0 / 0.744 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.856e-05/0.448, allocations: 56.61 kB / 0.7441 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.448, allocations: 0 / 0.7441 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.448, allocations: 3.938 kB / 0.7441 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.448, allocations: 0.7969 kB / 0.7441 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.4481, allocations: 135 kB / 0.7442 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4481, allocations: 3.844 kB / 0.7442 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.398e-05/0.4482, allocations: 10.64 kB / 0.7442 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4482, allocations: 0 / 0.7442 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.4482, allocations: 4.781 kB / 0.7443 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.4482, allocations: 0 / 0.7443 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4482, allocations: 7.844 kB / 0.7443 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.457e-05/0.4483, allocations: 137.8 kB / 0.7444 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.4484, allocations: 85.69 kB / 0.7445 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.4484, allocations: 0 / 0.7445 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.612e-05/0.4485, allocations: 15.61 kB / 0.7445 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.4485, allocations: 0 / 0.7445 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.4485, allocations: 3.938 kB / 0.7445 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.542e-05/0.4485, allocations: 84.27 kB / 0.7446 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000201/0.4488, allocations: 21.02 kB / 0.7446 GB, free: 24.58 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.00011/0.4489, allocations: 105.9 kB / 0.7447 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.76e-05/0.4489, allocations: 15.03 kB / 0.7447 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.4489, allocations: 3.938 kB / 0.7447 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.775e-05/0.449, allocations: 7.656 kB / 0.7447 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.4491, allocations: 9 kB / 0.7447 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001471/0.4493, allocations: 59.38 kB / 0.7448 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.4495, allocations: 0.6952 MB / 0.7455 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.4495, allocations: 0 / 0.7455 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of Templates: time 0.001855/0.4513, allocations: 0.5361 MB / 0.746 GB, free: 23.65 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)