Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 176.7 kB / 8.004 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.4961/0.4961, allocations: 90.92 MB / 99.35 MB, free: 2.141 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.307/1.307, allocations: 221.5 MB / 343.2 MB, free: 1.539 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.00105/0.00105, allocations: 87.95 kB / 415.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.029e-05, allocations: 4 kB / 494.5 MB, free: 52.36 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 72.31 MB / 0.5535 GB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/0.5611, allocations: 100.8 MB / 0.652 GB, free: 9.418 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.5613, allocations: 75.14 kB / 0.6521 GB, free: 9.375 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01277/0.5741, allocations: 4.559 MB / 0.6565 GB, free: 5.582 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5742, allocations: 0 / 0.6565 GB, free: 5.582 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.5742, allocations: 0 / 0.6565 GB, free: 5.582 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003531/0.5746, allocations: 345.4 kB / 0.6569 GB, free: 5.203 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5746, allocations: 20.02 kB / 0.6569 GB, free: 5.184 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.271e-05/0.5747, allocations: 9.547 kB / 0.6569 GB, free: 5.176 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.5749, allocations: 163 kB / 0.657 GB, free: 4.977 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.5749, allocations: 0 / 0.657 GB, free: 4.977 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.5749, allocations: 4 kB / 0.657 GB, free: 4.973 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.85e-05/0.575, allocations: 0 / 0.657 GB, free: 4.973 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.642e-05/0.5751, allocations: 32.64 kB / 0.6571 GB, free: 4.938 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.5751, allocations: 3.938 kB / 0.6571 GB, free: 4.934 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.5751, allocations: 3.984 kB / 0.6571 GB, free: 4.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.5751, allocations: 3.953 kB / 0.6571 GB, free: 4.926 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.5753, allocations: 137.9 kB / 0.6572 GB, free: 4.758 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.799e-05/0.5754, allocations: 18.61 kB / 0.6572 GB, free: 4.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.5754, allocations: 12.86 kB / 0.6572 GB, free: 4.715 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/0.576, allocations: 457.5 kB / 0.6577 GB, free: 4.176 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.5761, allocations: 41.42 kB / 0.6577 GB, free: 4.129 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.5761, allocations: 0 / 0.6577 GB, free: 4.129 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006897/0.5768, allocations: 240.8 kB / 0.658 GB, free: 3.848 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.5768, allocations: 51.41 kB / 0.658 GB, free: 3.785 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.5769, allocations: 89 kB / 0.6581 GB, free: 3.691 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.5769, allocations: 25.7 kB / 0.6581 GB, free: 3.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.577, allocations: 80.14 kB / 0.6582 GB, free: 3.578 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.577, allocations: 15.69 kB / 0.6582 GB, free: 3.566 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.577, allocations: 0 / 0.6582 GB, free: 3.566 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5772, allocations: 318.8 kB / 0.6585 GB, free: 3.246 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.5772, allocations: 8.125 kB / 0.6585 GB, free: 3.238 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.487e-05/0.5772, allocations: 17.34 kB / 0.6585 GB, free: 3.219 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.848e-05/0.5773, allocations: 7.938 kB / 0.6585 GB, free: 3.211 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5773, allocations: 0 / 0.6585 GB, free: 3.211 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001154/0.5774, allocations: 49.06 kB / 0.6586 GB, free: 3.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5774, allocations: 4 kB / 0.6586 GB, free: 3.156 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5774, allocations: 0 / 0.6586 GB, free: 3.156 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.5775, allocations: 8.062 kB / 0.6586 GB, free: 3.148 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.5775, allocations: 4 kB / 0.6586 GB, free: 3.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.5775, allocations: 0 / 0.6586 GB, free: 3.145 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.5776, allocations: 0 / 0.6586 GB, free: 3.145 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.5776, allocations: 7.938 kB / 0.6586 GB, free: 3.137 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.166e-05/0.5777, allocations: 108.9 kB / 0.6587 GB, free: 3.023 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.5777, allocations: 4 kB / 0.6587 GB, free: 3.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.5779, allocations: 53.67 kB / 0.6588 GB, free: 2.965 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.5779, allocations: 4 kB / 0.6588 GB, free: 2.961 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5779, allocations: 0 / 0.6588 GB, free: 2.961 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5779, allocations: 0 / 0.6588 GB, free: 2.961 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.688e-05/0.578, allocations: 137.4 kB / 0.6589 GB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.578, allocations: 0 / 0.6589 GB, free: 2.793 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.599e-05/0.5781, allocations: 4 kB / 0.6589 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5781, allocations: 0 / 0.6589 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.5781, allocations: 0 / 0.6589 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5781, allocations: 0 / 0.6589 GB, free: 2.789 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5781, allocations: 4.188 kB / 0.6589 GB, free: 2.785 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.5783, allocations: 91.88 kB / 0.659 GB, free: 2.684 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.5783, allocations: 81.06 kB / 0.6591 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.5784, allocations: 0 / 0.6591 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.471e-05/0.5784, allocations: 0 / 0.6591 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.5784, allocations: 4.031 kB / 0.6591 GB, free: 2.582 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.5784, allocations: 3.938 kB / 0.6591 GB, free: 2.578 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.319e-05/0.5785, allocations: 75.28 kB / 0.6592 GB, free: 2.504 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5785, allocations: 4.156 kB / 0.6592 GB, free: 2.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000238/0.5787, allocations: 39.48 kB / 0.6592 GB, free: 2.465 MB / 458.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 (3): * Single equations (assignments): 3 * 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.000292/0.579, allocations: 135.2 kB / 0.6593 GB, free: 2.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 8.23e-05/0.5791, allocations: 19.5 kB / 0.6593 GB, free: 2.305 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5791, allocations: 0 / 0.6593 GB, free: 2.305 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.534e-05/0.5791, allocations: 4 kB / 0.6593 GB, free: 2.301 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.5793, allocations: 2.984 kB / 0.6594 GB, free: 2.301 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.5795, allocations: 81.14 kB / 0.6594 GB, free: 2.203 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.5798, allocations: 0.6807 MB / 0.6601 GB, free: 1.496 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.252e-05/0.5798, allocations: 4 kB / 0.6601 GB, free: 1.492 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.5798, allocations: 11.44 kB / 0.6601 GB, free: 1.48 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5798, allocations: 0 / 0.6601 GB, free: 1.48 MB / 458.7 MB Notification: Performance of Templates: time 0.003058/0.5829, allocations: 0.7928 MB / 0.6609 GB, free: 0.6992 MB / 458.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)