Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4919/0.4919, allocations: 90.92 MB / 99.35 MB, free: 2.172 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.5 MB / 343.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008335/0.0008335, allocations: 107 kB / 416 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.939e-05/1.943e-05, allocations: 8 kB / 494.5 MB, free: 52.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1334, allocations: 72.32 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.424/0.5575, allocations: 101 MB / 0.6521 GB, free: 9.309 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.5577, allocations: 78.08 kB / 0.6522 GB, free: 9.266 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01359/0.5713, allocations: 5.091 MB / 0.6572 GB, free: 5.043 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5713, allocations: 0 / 0.6572 GB, free: 5.043 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.5713, allocations: 9.031 kB / 0.6572 GB, free: 5.035 MB / 458.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.0003072/0.5717, allocations: 358.8 kB / 0.6575 GB, free: 4.645 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.5717, allocations: 11.97 kB / 0.6575 GB, free: 4.633 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.5718, allocations: 11.95 kB / 0.6576 GB, free: 4.621 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.5719, allocations: 163 kB / 0.6577 GB, free: 4.422 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.5719, allocations: 7.984 kB / 0.6577 GB, free: 4.414 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.572, allocations: 0 / 0.6577 GB, free: 4.414 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.757e-05/0.572, allocations: 18.69 kB / 0.6577 GB, free: 4.398 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.303e-05/0.5721, allocations: 52.12 kB / 0.6578 GB, free: 4.348 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5722, allocations: 0 / 0.6578 GB, free: 4.348 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.5722, allocations: 0 / 0.6578 GB, free: 4.348 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5722, allocations: 7.891 kB / 0.6578 GB, free: 4.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.5723, allocations: 144.9 kB / 0.6579 GB, free: 4.164 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.418e-05/0.5724, allocations: 49.31 kB / 0.658 GB, free: 4.117 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.5725, allocations: 26.55 kB / 0.658 GB, free: 4.094 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000589/0.5731, allocations: 460.7 kB / 0.6584 GB, free: 3.555 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.5731, allocations: 38.5 kB / 0.6585 GB, free: 3.508 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.5731, allocations: 4 kB / 0.6585 GB, free: 3.504 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009713/0.5741, allocations: 0.5114 MB / 0.659 GB, free: 2.934 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.5741, allocations: 55.41 kB / 0.659 GB, free: 2.867 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.676e-05/0.5742, allocations: 85.23 kB / 0.6591 GB, free: 2.777 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.5742, allocations: 29.7 kB / 0.6591 GB, free: 2.742 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.906e-05/0.5743, allocations: 83.7 kB / 0.6592 GB, free: 2.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.796e-05/0.5743, allocations: 42.7 kB / 0.6593 GB, free: 2.621 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-06/0.5743, allocations: 0 / 0.6593 GB, free: 2.621 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.5745, allocations: 322.4 kB / 0.6596 GB, free: 2.301 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.5745, allocations: 15.56 kB / 0.6596 GB, free: 2.289 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.5745, allocations: 18.88 kB / 0.6596 GB, free: 2.277 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.5746, allocations: 19.44 kB / 0.6596 GB, free: 2.266 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5746, allocations: 0 / 0.6596 GB, free: 2.266 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001558/0.5748, allocations: 92.64 kB / 0.6597 GB, free: 2.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.5748, allocations: 5.562 kB / 0.6597 GB, free: 2.176 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.5748, allocations: 4 kB / 0.6597 GB, free: 2.172 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5748, allocations: 4 kB / 0.6597 GB, free: 2.168 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.5749, allocations: 27.73 kB / 0.6597 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.5749, allocations: 0 / 0.6597 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.575, allocations: 0 / 0.6597 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.567e-06/0.575, allocations: 4 kB / 0.6598 GB, free: 2.141 MB / 458.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 6.773e-05/0.5751, allocations: 104.9 kB / 0.6599 GB, free: 2.031 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.5751, allocations: 4 kB / 0.6599 GB, free: 2.027 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.5753, allocations: 100.8 kB / 0.66 GB, free: 1.941 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5753, allocations: 3.984 kB / 0.66 GB, free: 1.938 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.5753, allocations: 4 kB / 0.66 GB, free: 1.934 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5754, allocations: 3.984 kB / 0.66 GB, free: 1.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004368/0.5758, allocations: 317.6 kB / 0.6603 GB, free: 1.598 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.5758, allocations: 3.938 kB / 0.6603 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.5759, allocations: 23.98 kB / 0.6603 GB, free: 1.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5759, allocations: 3.938 kB / 0.6603 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.576, allocations: 4 kB / 0.6603 GB, free: 1.562 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.576, allocations: 0 / 0.6603 GB, free: 1.562 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.576, allocations: 8 kB / 0.6603 GB, free: 1.555 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.5763, allocations: 209.8 kB / 0.6605 GB, free: 1.359 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.5763, allocations: 85 kB / 0.6606 GB, free: 1.258 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.5764, allocations: 4 kB / 0.6606 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.29e-05/0.5764, allocations: 0 / 0.6606 GB, free: 1.254 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.5765, allocations: 11.11 kB / 0.6606 GB, free: 1.246 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.5765, allocations: 4 kB / 0.6606 GB, free: 1.242 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.484e-05/0.5765, allocations: 79.34 kB / 0.6607 GB, free: 1.164 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.833e-06/0.5765, allocations: 0 / 0.6607 GB, free: 1.164 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002897/0.5768, allocations: 59.86 kB / 0.6607 GB, free: 1.105 MB / 458.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.000317/0.5771, allocations: 154.4 kB / 0.6609 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.5773, allocations: 49.44 kB / 0.6609 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5773, allocations: 0 / 0.6609 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.981e-05/0.5773, allocations: 38.55 kB / 0.661 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.5775, allocations: 3.953 kB / 0.661 GB, free: 0.875 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.5778, allocations: 119 kB / 0.6611 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.5781, allocations: 0.6885 MB / 0.6618 GB, free: 24 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.184e-05/0.5782, allocations: 20.41 kB / 0.6618 GB, free: 4 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.953e-05/0.5782, allocations: 11.48 kB / 0.6618 GB, free: 15.99 MB / 474.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5782, allocations: 0 / 0.6618 GB, free: 15.99 MB / 474.7 MB Notification: Performance of Templates: time 0.003189/0.5814, allocations: 1.285 MB / 0.663 GB, free: 14.72 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)