Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [: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.00204/0.00204, allocations: 184.2 kB / 7.459 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5965/0.5965, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.131/1.131, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008169/0.0008168, allocations: 102.5 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.286e-06/8.316e-06, allocations: 5.281 kB / 0.5529 GB, free: 89.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 82.31 MB / 0.6332 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3292/0.4451, allocations: 110 MB / 0.7407 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.4453, allocations: 74.28 kB / 0.7408 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.004745/0.4501, allocations: 1.71 MB / 0.7424 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4501, allocations: 3.875 kB / 0.7424 GB, free: 10.73 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002428/0.4503, allocations: 325.9 kB / 0.7427 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.4504, allocations: 11.84 kB / 0.7428 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.4504, allocations: 9.125 kB / 0.7428 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.4505, allocations: 160.6 kB / 0.7429 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.4506, allocations: 0 / 0.7429 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.4506, allocations: 7.828 kB / 0.7429 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.475e-05/0.4507, allocations: 9.625 kB / 0.7429 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.646e-05/0.4507, allocations: 44.06 kB / 0.743 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4507, allocations: 3.938 kB / 0.743 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.4508, allocations: 0 / 0.743 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4508, allocations: 5.406 kB / 0.743 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001345/0.4509, allocations: 136.2 kB / 0.7431 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.187e-05/0.451, allocations: 29.22 kB / 0.7431 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.467e-05/0.451, allocations: 18.14 kB / 0.7432 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.179e-05/0.4511, allocations: 80.89 kB / 0.7432 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.4511, allocations: 37.2 kB / 0.7433 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.4511, allocations: 0 / 0.7433 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.0009654/0.4521, allocations: 448 kB / 0.7437 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.4522, allocations: 55.25 kB / 0.7438 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.209e-05/0.4522, allocations: 86.36 kB / 0.7438 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.4522, allocations: 25.7 kB / 0.7439 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.4523, allocations: 80.27 kB / 0.7439 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.4523, allocations: 28.73 kB / 0.744 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.4523, allocations: 0 / 0.744 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4524, allocations: 316.1 kB / 0.7443 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.4524, allocations: 11.47 kB / 0.7443 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.64e-05/0.4525, allocations: 7.531 kB / 0.7443 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.19e-05/0.4525, allocations: 13.47 kB / 0.7443 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4525, allocations: 3.906 kB / 0.7443 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001041/0.4526, allocations: 71.3 kB / 0.7444 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.4526, allocations: 3.875 kB / 0.7444 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4527, allocations: 4 kB / 0.7444 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4527, allocations: 3.812 kB / 0.7444 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.783e-05/0.4528, allocations: 9.047 kB / 0.7444 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.4528, allocations: 3.75 kB / 0.7444 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.344e-05/0.4528, allocations: 1.594 kB / 0.7444 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.4528, allocations: 256 / 0.7444 GB, free: 24.8 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 (8): * Single equations (assignments): 8 * 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 6.702e-05/0.4529, allocations: 108.8 kB / 0.7445 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.4529, allocations: 0 / 0.7445 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000168/0.4531, allocations: 88.53 kB / 0.7446 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4531, allocations: 7.906 kB / 0.7446 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4531, allocations: 0 / 0.7446 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4531, allocations: 0 / 0.7446 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.376e-05/0.4532, allocations: 142.4 kB / 0.7447 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4532, allocations: 0 / 0.7447 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.4533, allocations: 13.14 kB / 0.7447 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4533, allocations: 0 / 0.7447 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.4533, allocations: 1.641 kB / 0.7447 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4533, allocations: 3.906 kB / 0.7447 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4533, allocations: 4 kB / 0.7447 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001563/0.4535, allocations: 109 kB / 0.7449 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.4535, allocations: 84.95 kB / 0.7449 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.4536, allocations: 9.359 kB / 0.7449 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.2e-05/0.4536, allocations: 0 / 0.7449 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.4536, allocations: 1.547 kB / 0.7449 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.4536, allocations: 6.938 kB / 0.7449 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.331e-05/0.4537, allocations: 80.84 kB / 0.745 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000227/0.4539, allocations: 40.09 kB / 0.7451 GB, free: 24.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001812/0.4541, allocations: 137.9 kB / 0.7452 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.992e-05/0.4542, allocations: 37.05 kB / 0.7452 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4542, allocations: 0 / 0.7452 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.4542, allocations: 18.09 kB / 0.7452 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.316e-05/0.4543, allocations: 9.469 kB / 0.7453 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.4545, allocations: 89.95 kB / 0.7453 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.4548, allocations: 0.6965 MB / 0.746 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.4548, allocations: 0 / 0.746 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of Templates: time 0.002485/0.4573, allocations: 0.8643 MB / 0.7469 GB, free: 23.23 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)