Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") [: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.001584/0.001584, allocations: 188.7 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4693/0.4693, allocations: 90.85 MB / 99.07 MB, free: 14.95 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.168/1.168, allocations: 221.4 MB / 342.8 MB, free: 5.199 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.0009448/0.0009448, allocations: 94.73 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.095e-06/8.125e-06, allocations: 4 kB / 493.9 MB, free: 8.078 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3391, allocations: 72.3 MB / 0.5529 GB, free: 73.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.4501, allocations: 101.3 MB / 0.6519 GB, free: 8.723 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.4504, allocations: 75.94 kB / 0.6519 GB, free: 8.648 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.01281/0.4632, allocations: 4.019 MB / 0.6559 GB, free: 4.676 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.4632, allocations: 0.5312 kB / 0.6559 GB, free: 4.676 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004347/0.4637, allocations: 377.7 kB / 0.6562 GB, free: 4.266 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.4637, allocations: 8.031 kB / 0.6562 GB, free: 4.258 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.4638, allocations: 4 kB / 0.6562 GB, free: 4.254 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.4639, allocations: 163.5 kB / 0.6564 GB, free: 4.055 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.464, allocations: 4.531 kB / 0.6564 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.464, allocations: 0 / 0.6564 GB, free: 4.051 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.064e-05/0.4641, allocations: 8.594 kB / 0.6564 GB, free: 4.043 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.402e-05/0.4641, allocations: 40.91 kB / 0.6564 GB, free: 4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4642, allocations: 0 / 0.6564 GB, free: 4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.4642, allocations: 0 / 0.6564 GB, free: 4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4642, allocations: 0 / 0.6564 GB, free: 4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.4646, allocations: 261.1 kB / 0.6567 GB, free: 3.711 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.767e-05/0.4647, allocations: 27.2 kB / 0.6567 GB, free: 3.676 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.4648, allocations: 9.641 kB / 0.6567 GB, free: 3.664 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006621/0.4654, allocations: 465.9 kB / 0.6572 GB, free: 3.121 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.4655, allocations: 33.47 kB / 0.6572 GB, free: 3.082 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.4655, allocations: 0 / 0.6572 GB, free: 3.082 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002069/0.4657, allocations: 45.61 kB / 0.6572 GB, free: 3.031 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.4657, allocations: 51.41 kB / 0.6573 GB, free: 2.969 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.886e-05/0.4658, allocations: 96.98 kB / 0.6574 GB, free: 2.867 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.4658, allocations: 25.7 kB / 0.6574 GB, free: 2.836 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.4659, allocations: 96.11 kB / 0.6575 GB, free: 2.738 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.4659, allocations: 3.906 kB / 0.6575 GB, free: 2.734 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.4659, allocations: 0 / 0.6575 GB, free: 2.734 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.4661, allocations: 310.8 kB / 0.6578 GB, free: 2.422 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.781e-05/0.4661, allocations: 8 kB / 0.6578 GB, free: 2.414 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/0.4661, allocations: 4 kB / 0.6578 GB, free: 2.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.541e-05/0.4661, allocations: 11.98 kB / 0.6578 GB, free: 2.398 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4661, allocations: 0 / 0.6578 GB, free: 2.398 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.406e-05/0.4662, allocations: 41.67 kB / 0.6579 GB, free: 2.352 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4663, allocations: 8 kB / 0.6579 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4663, allocations: 0 / 0.6579 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4663, allocations: 0 / 0.6579 GB, free: 2.344 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.4664, allocations: 15.98 kB / 0.6579 GB, free: 2.328 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.4664, allocations: 2.188 kB / 0.6579 GB, free: 2.328 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.4665, allocations: 17.33 kB / 0.6579 GB, free: 2.312 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.4665, allocations: 0 / 0.6579 GB, free: 2.312 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 (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 9.206e-05/0.4666, allocations: 101 kB / 0.658 GB, free: 2.207 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.4666, allocations: 7.906 kB / 0.658 GB, free: 2.199 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.4668, allocations: 53.25 kB / 0.6581 GB, free: 2.137 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4668, allocations: 0 / 0.6581 GB, free: 2.137 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4668, allocations: 0 / 0.6581 GB, free: 2.137 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4668, allocations: 5.719 kB / 0.6581 GB, free: 2.133 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.467, allocations: 142.1 kB / 0.6582 GB, free: 1.957 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.467, allocations: 0 / 0.6582 GB, free: 1.957 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.467, allocations: 15.98 kB / 0.6582 GB, free: 1.941 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.467, allocations: 3.281 kB / 0.6582 GB, free: 1.941 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.4671, allocations: 3.938 kB / 0.6582 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4671, allocations: 0 / 0.6582 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4671, allocations: 0 / 0.6582 GB, free: 1.938 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001474/0.4672, allocations: 151.4 kB / 0.6584 GB, free: 1.773 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.4673, allocations: 81.05 kB / 0.6584 GB, free: 1.676 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.4673, allocations: 0 / 0.6584 GB, free: 1.676 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-05/0.4674, allocations: 13.3 kB / 0.6585 GB, free: 1.664 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.4674, allocations: 0 / 0.6585 GB, free: 1.664 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.4674, allocations: 11.94 kB / 0.6585 GB, free: 1.652 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.552e-05/0.4675, allocations: 83.27 kB / 0.6585 GB, free: 1.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.4677, allocations: 16 kB / 0.6586 GB, free: 1.555 MB / 474.7 MB 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.0001892/0.4679, allocations: 119.6 kB / 0.6587 GB, free: 1.434 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.857e-05/0.468, allocations: 12 kB / 0.6587 GB, free: 1.422 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.468, allocations: 0 / 0.6587 GB, free: 1.422 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.331e-05/0.468, allocations: 8 kB / 0.6587 GB, free: 1.414 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.4682, allocations: 8.062 kB / 0.6587 GB, free: 1.406 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002132/0.4685, allocations: 67.7 kB / 0.6588 GB, free: 1.316 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.4687, allocations: 0.688 MB / 0.6594 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4688, allocations: 0 / 0.6594 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of Templates: time 0.002744/0.4715, allocations: 0.6572 MB / 0.6601 GB, free: 15.97 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)