Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001044/0.001044, allocations: 190.5 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4355/0.4355, allocations: 90.85 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 221.4 MB / 342.8 MB, free: 5.102 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009467/0.0009466, allocations: 98.47 kB / 415.5 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.888e-06/1.005e-05, allocations: 4 kB / 493.9 MB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3253, allocations: 72.3 MB / 0.5529 GB, free: 44.86 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1139/0.4392, allocations: 100.3 MB / 0.6508 GB, free: 8.469 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.4394, allocations: 77.38 kB / 0.6509 GB, free: 8.395 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.005431/0.4449, allocations: 1.698 MB / 0.6526 GB, free: 6.703 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.4449, allocations: 4 kB / 0.6526 GB, free: 6.699 MB / 474.7 MB 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.0003205/0.4452, allocations: 326.3 kB / 0.6529 GB, free: 6.336 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.4453, allocations: 8.031 kB / 0.6529 GB, free: 6.328 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.4453, allocations: 11.98 kB / 0.6529 GB, free: 6.316 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.4455, allocations: 163 kB / 0.653 GB, free: 6.117 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.4455, allocations: 0 / 0.653 GB, free: 6.117 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.4456, allocations: 7.906 kB / 0.653 GB, free: 6.109 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.201e-05/0.4457, allocations: 12 kB / 0.6531 GB, free: 6.098 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.449e-05/0.4457, allocations: 43.28 kB / 0.6531 GB, free: 6.051 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.4458, allocations: 0 / 0.6531 GB, free: 6.051 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4458, allocations: 0 / 0.6531 GB, free: 6.051 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4458, allocations: 4 kB / 0.6531 GB, free: 6.047 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.446, allocations: 142.2 kB / 0.6532 GB, free: 5.871 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.261e-05/0.4461, allocations: 33.7 kB / 0.6533 GB, free: 5.832 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.916e-05/0.4461, allocations: 16.98 kB / 0.6533 GB, free: 5.812 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.4463, allocations: 85 kB / 0.6534 GB, free: 5.711 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.4463, allocations: 34.56 kB / 0.6534 GB, free: 5.668 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.4463, allocations: 0 / 0.6534 GB, free: 5.668 MB / 474.7 MB Notification: Performance of matching and sorting (n=7): time 0.001138/0.4475, allocations: 449.9 kB / 0.6538 GB, free: 5.164 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.4475, allocations: 51.41 kB / 0.6539 GB, free: 5.102 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.337e-05/0.4476, allocations: 85 kB / 0.654 GB, free: 5.012 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.4476, allocations: 25.7 kB / 0.654 GB, free: 4.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.4476, allocations: 80.14 kB / 0.6541 GB, free: 4.898 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.4477, allocations: 23.66 kB / 0.6541 GB, free: 4.875 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.4477, allocations: 4.125 kB / 0.6541 GB, free: 4.871 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4478, allocations: 322.7 kB / 0.6544 GB, free: 4.547 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.319e-05/0.4478, allocations: 8 kB / 0.6544 GB, free: 4.539 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.4479, allocations: 12 kB / 0.6544 GB, free: 4.527 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.569e-05/0.4479, allocations: 12 kB / 0.6544 GB, free: 4.516 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4479, allocations: 3.984 kB / 0.6544 GB, free: 4.512 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001211/0.448, allocations: 61.67 kB / 0.6545 GB, free: 4.445 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.4481, allocations: 4 kB / 0.6545 GB, free: 4.441 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4481, allocations: 0 / 0.6545 GB, free: 4.441 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.4481, allocations: 6.188 kB / 0.6545 GB, free: 4.438 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.626e-05/0.4482, allocations: 19.94 kB / 0.6545 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.4482, allocations: 0 / 0.6545 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.715e-05/0.4482, allocations: 3.906 kB / 0.6545 GB, free: 4.414 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4482, allocations: 8 kB / 0.6545 GB, free: 4.406 MB / 474.7 MB 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.25e-05/0.4483, allocations: 105 kB / 0.6546 GB, free: 4.297 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.4483, allocations: 4 kB / 0.6546 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.4485, allocations: 77.48 kB / 0.6547 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.4485, allocations: 0 / 0.6547 GB, free: 4.207 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4485, allocations: 3.938 kB / 0.6547 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4485, allocations: 0 / 0.6547 GB, free: 4.203 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.4487, allocations: 138.2 kB / 0.6548 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4487, allocations: 0 / 0.6548 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-05/0.4488, allocations: 15.98 kB / 0.6549 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4488, allocations: 0 / 0.6549 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.4488, allocations: 0 / 0.6549 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4488, allocations: 4.25 kB / 0.6549 GB, free: 4.012 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.4488, allocations: 3.906 kB / 0.6549 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001852/0.449, allocations: 120.1 kB / 0.655 GB, free: 3.875 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.542e-05/0.4491, allocations: 81.02 kB / 0.6551 GB, free: 3.777 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.4491, allocations: 0 / 0.6551 GB, free: 3.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.555e-05/0.4491, allocations: 7.938 kB / 0.6551 GB, free: 3.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.4492, allocations: 0.6562 kB / 0.6551 GB, free: 3.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.4492, allocations: 7.984 kB / 0.6551 GB, free: 3.762 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.799e-05/0.4492, allocations: 75.34 kB / 0.6551 GB, free: 3.688 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.4494, allocations: 44.03 kB / 0.6552 GB, free: 3.645 MB / 474.7 MB 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.000227/0.4497, allocations: 135.2 kB / 0.6553 GB, free: 3.504 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.4498, allocations: 36.06 kB / 0.6554 GB, free: 3.469 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4498, allocations: 0 / 0.6554 GB, free: 3.469 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.276e-05/0.4498, allocations: 28.48 kB / 0.6554 GB, free: 3.441 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.45, allocations: 3.906 kB / 0.6554 GB, free: 3.438 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.4502, allocations: 89 kB / 0.6555 GB, free: 3.328 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.4505, allocations: 0.703 MB / 0.6562 GB, free: 2.602 MB / 474.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4505, allocations: 0 / 0.6562 GB, free: 2.602 MB / 474.7 MB Notification: Performance of Templates: time 0.002867/0.4534, allocations: 0.8709 MB / 0.657 GB, free: 1.766 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)