Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.8129/0.8129, allocations: 127.4 MB / 134.6 MB, free: 4.102 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001049/0.00105, allocations: 189.2 kB / 164.4 MB, free: 6.879 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 399.1 MB, free: 6.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 91.25 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.096e-05/1.1e-05, allocations: 4 kB / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2135, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6396/0.8531, allocations: 101.3 MB / 0.7199 GB, free: 11.04 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.8535, allocations: 79.94 kB / 0.72 GB, free: 10.96 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.006219/0.8597, allocations: 1.827 MB / 0.7218 GB, free: 9.145 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.8598, allocations: 0 / 0.7218 GB, free: 9.145 MB / 490.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.0003755/0.8602, allocations: 326.4 kB / 0.7221 GB, free: 8.781 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.8602, allocations: 12.03 kB / 0.7221 GB, free: 8.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.8603, allocations: 0 / 0.7221 GB, free: 8.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.8605, allocations: 163 kB / 0.7222 GB, free: 8.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.8605, allocations: 7.984 kB / 0.7222 GB, free: 8.562 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.8606, allocations: 0 / 0.7222 GB, free: 8.562 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.939e-05/0.8607, allocations: 11.94 kB / 0.7223 GB, free: 8.551 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.8608, allocations: 45.69 kB / 0.7223 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.8608, allocations: 0 / 0.7223 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.8608, allocations: 0 / 0.7223 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.8608, allocations: 0 / 0.7223 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.8611, allocations: 138.1 kB / 0.7224 GB, free: 8.328 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.8612, allocations: 25.78 kB / 0.7225 GB, free: 8.297 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.8612, allocations: 16.98 kB / 0.7225 GB, free: 8.277 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.8614, allocations: 85.09 kB / 0.7226 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.8614, allocations: 38.5 kB / 0.7226 GB, free: 8.129 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 3.006e-06/0.8615, allocations: 0 / 0.7226 GB, free: 8.129 MB / 490.7 MB Notification: Performance of matching and sorting (n=7): time 0.001386/0.8629, allocations: 437.1 kB / 0.723 GB, free: 7.633 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.8629, allocations: 55.41 kB / 0.7231 GB, free: 7.566 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.871e-05/0.863, allocations: 89 kB / 0.7231 GB, free: 7.473 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.863, allocations: 29.69 kB / 0.7232 GB, free: 7.438 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.8631, allocations: 84.08 kB / 0.7233 GB, free: 7.352 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.8631, allocations: 27.56 kB / 0.7233 GB, free: 7.324 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.8631, allocations: 0 / 0.7233 GB, free: 7.324 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8633, allocations: 314.8 kB / 0.7236 GB, free: 7.008 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.8633, allocations: 11.98 kB / 0.7236 GB, free: 6.996 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.301e-05/0.8633, allocations: 12 kB / 0.7236 GB, free: 6.984 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/0.8634, allocations: 8.125 kB / 0.7236 GB, free: 6.977 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.8634, allocations: 8 kB / 0.7236 GB, free: 6.969 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001174/0.8635, allocations: 65.59 kB / 0.7237 GB, free: 6.898 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.8636, allocations: 6.656 kB / 0.7237 GB, free: 6.895 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.8636, allocations: 0 / 0.7237 GB, free: 6.895 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.8636, allocations: 3.984 kB / 0.7237 GB, free: 6.891 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.8637, allocations: 15.98 kB / 0.7237 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.8637, allocations: 256 / 0.7237 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.8637, allocations: 0 / 0.7237 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.8638, allocations: 11.94 kB / 0.7237 GB, free: 6.863 MB / 490.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 8.053e-05/0.8638, allocations: 105 kB / 0.7238 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.173e-05/0.8639, allocations: 3.906 kB / 0.7238 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.8641, allocations: 82.56 kB / 0.7239 GB, free: 6.668 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.8641, allocations: 0 / 0.7239 GB, free: 6.668 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.8641, allocations: 0 / 0.7239 GB, free: 6.668 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.8641, allocations: 0 / 0.7239 GB, free: 6.668 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.8643, allocations: 138.2 kB / 0.724 GB, free: 6.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.8643, allocations: 7.844 kB / 0.724 GB, free: 6.488 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.086e-05/0.8644, allocations: 23.94 kB / 0.7241 GB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8644, allocations: 0 / 0.7241 GB, free: 6.465 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.8644, allocations: 3.984 kB / 0.7241 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8644, allocations: 400 / 0.7241 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.8644, allocations: 0 / 0.7241 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001884/0.8646, allocations: 109 kB / 0.7242 GB, free: 6.336 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.8647, allocations: 81.11 kB / 0.7243 GB, free: 6.238 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.8647, allocations: 3.984 kB / 0.7243 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.618e-05/0.8647, allocations: 8 kB / 0.7243 GB, free: 6.227 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.8648, allocations: 7.906 kB / 0.7243 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.8648, allocations: 4 kB / 0.7243 GB, free: 6.215 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.699e-05/0.8648, allocations: 79.28 kB / 0.7244 GB, free: 6.137 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002362/0.8651, allocations: 39.92 kB / 0.7244 GB, free: 6.098 MB / 490.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.0002835/0.8654, allocations: 143 kB / 0.7245 GB, free: 5.945 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.8655, allocations: 32.08 kB / 0.7246 GB, free: 5.914 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8655, allocations: 4.094 kB / 0.7246 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.42e-05/0.8655, allocations: 27.92 kB / 0.7246 GB, free: 5.883 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.8657, allocations: 0 / 0.7246 GB, free: 5.883 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.866, allocations: 84.25 kB / 0.7247 GB, free: 5.777 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/0.8664, allocations: 0.6958 MB / 0.7253 GB, free: 5.055 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.8664, allocations: 4 kB / 0.7253 GB, free: 5.051 MB / 490.7 MB Notification: Performance of Templates: time 0.003281/0.8697, allocations: 0.8927 MB / 0.7262 GB, free: 4.184 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)