Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [: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.8188/0.8188, allocations: 127.4 MB / 134.6 MB, free: 4.129 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.001108/0.001108, allocations: 181.3 kB / 164.4 MB, free: 6.883 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.644/1.644, allocations: 205.1 MB / 399.1 MB, free: 6.078 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.001012/0.001012, allocations: 85.69 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.197e-06/9.207e-06, allocations: 4 kB / 0.546 GB, free: 42.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2256, allocations: 76.74 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6211/0.8467, allocations: 102 MB / 0.7206 GB, free: 10.34 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.8471, allocations: 71.95 kB / 0.7206 GB, free: 10.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01622/0.8633, allocations: 5.083 MB / 0.7256 GB, free: 5.191 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.8634, allocations: 0 / 0.7256 GB, free: 5.191 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004804/0.8639, allocations: 362.3 kB / 0.7259 GB, free: 4.793 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.8639, allocations: 8.031 kB / 0.7259 GB, free: 4.785 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.854e-05/0.864, allocations: 11.84 kB / 0.726 GB, free: 4.773 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.8642, allocations: 167 kB / 0.7261 GB, free: 4.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.8642, allocations: 0 / 0.7261 GB, free: 4.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.8642, allocations: 4 kB / 0.7261 GB, free: 4.566 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.512e-05/0.8643, allocations: 16 kB / 0.7261 GB, free: 4.551 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.02e-05/0.8644, allocations: 45.67 kB / 0.7262 GB, free: 4.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.8645, allocations: 3.906 kB / 0.7262 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.8645, allocations: 0 / 0.7262 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.8645, allocations: 4 kB / 0.7262 GB, free: 4.492 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.8648, allocations: 138.2 kB / 0.7263 GB, free: 4.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.403e-05/0.8649, allocations: 41.64 kB / 0.7264 GB, free: 4.273 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.865, allocations: 24.86 kB / 0.7264 GB, free: 4.246 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008025/0.8658, allocations: 457.5 kB / 0.7268 GB, free: 3.707 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.8658, allocations: 46.47 kB / 0.7269 GB, free: 3.652 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 2.053e-06/0.8658, allocations: 0 / 0.7269 GB, free: 3.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001329/0.8672, allocations: 0.517 MB / 0.7274 GB, free: 3.047 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.8672, allocations: 51.41 kB / 0.7274 GB, free: 2.984 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/0.8673, allocations: 89 kB / 0.7275 GB, free: 2.891 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.8673, allocations: 29.7 kB / 0.7275 GB, free: 2.855 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.707e-05/0.8674, allocations: 84.14 kB / 0.7276 GB, free: 2.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.8674, allocations: 39.45 kB / 0.7277 GB, free: 2.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-06/0.8674, allocations: 0 / 0.7277 GB, free: 2.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.8676, allocations: 314.8 kB / 0.728 GB, free: 2.414 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.8676, allocations: 23.94 kB / 0.728 GB, free: 2.391 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.8677, allocations: 16 kB / 0.728 GB, free: 2.375 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.412e-05/0.8677, allocations: 24.95 kB / 0.728 GB, free: 2.352 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.8678, allocations: 3.938 kB / 0.728 GB, free: 2.348 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001881/0.868, allocations: 91.72 kB / 0.7281 GB, free: 2.254 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.868, allocations: 7.984 kB / 0.7281 GB, free: 2.246 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.868, allocations: 0 / 0.7281 GB, free: 2.246 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.868, allocations: 0 / 0.7281 GB, free: 2.246 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.8681, allocations: 24 kB / 0.7281 GB, free: 2.223 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.8682, allocations: 0.5469 kB / 0.7281 GB, free: 2.223 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.775e-05/0.8682, allocations: 4.172 kB / 0.7281 GB, free: 2.219 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.8682, allocations: 4 kB / 0.7281 GB, free: 2.215 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 (13): * Single equations (assignments): 13 * 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.589e-05/0.8683, allocations: 104.9 kB / 0.7282 GB, free: 2.105 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.8683, allocations: 11.89 kB / 0.7283 GB, free: 2.094 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000251/0.8686, allocations: 101.7 kB / 0.7284 GB, free: 1.992 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8686, allocations: 4 kB / 0.7284 GB, free: 1.988 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.8686, allocations: 0 / 0.7284 GB, free: 1.988 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.8686, allocations: 3.984 kB / 0.7284 GB, free: 1.984 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004479/0.8691, allocations: 319 kB / 0.7287 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8691, allocations: 0 / 0.7287 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.8692, allocations: 19.98 kB / 0.7287 GB, free: 1.609 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.8692, allocations: 0 / 0.7287 GB, free: 1.609 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.8693, allocations: 8 kB / 0.7287 GB, free: 1.602 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8693, allocations: 0 / 0.7287 GB, free: 1.602 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.8693, allocations: 3.906 kB / 0.7287 GB, free: 1.598 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003021/0.8696, allocations: 219.5 kB / 0.7289 GB, free: 1.367 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.267e-05/0.8697, allocations: 85.09 kB / 0.729 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.8697, allocations: 0 / 0.729 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.8698, allocations: 11.91 kB / 0.729 GB, free: 1.254 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.8698, allocations: 3.984 kB / 0.729 GB, free: 1.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.8698, allocations: 12.06 kB / 0.729 GB, free: 1.238 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.549e-05/0.8699, allocations: 79.28 kB / 0.7291 GB, free: 1.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003545/0.8702, allocations: 55.86 kB / 0.7291 GB, free: 1.105 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0003605/0.8706, allocations: 151.2 kB / 0.7293 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.8708, allocations: 55.98 kB / 0.7293 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8708, allocations: 0 / 0.7293 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.565e-05/0.8708, allocations: 35.92 kB / 0.7294 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.871, allocations: 8 kB / 0.7294 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003581/0.8714, allocations: 108.5 kB / 0.7295 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003886/0.8718, allocations: 0.7036 MB / 0.7302 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/0.8718, allocations: 0 / 0.7302 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of Templates: time 0.004318/0.8761, allocations: 1.487 MB / 0.7316 GB, free: 14.53 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)