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.00113/0.00113, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4741/0.4741, allocations: 87.5 MB / 104.9 MB, free: 13.01 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.363/1.363, allocations: 222.9 MB / 349.1 MB, free: 2.738 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.001026/0.001026, allocations: 109.6 kB / 420 MB, free: 8.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001012/0.001012, allocations: 55.92 kB / 0.4891 GB, free: 7.676 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3798, allocations: 70.06 MB / 0.5575 GB, free: 44.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001908/0.3818, allocations: 0.667 MB / 0.5582 GB, free: 44.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007552/0.3826, allocations: 387 kB / 0.5585 GB, free: 44.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.3826, allocations: 0 / 0.5585 GB, free: 44.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.3826, allocations: 8.344 kB / 0.5585 GB, free: 44.04 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.01e-05/0.3827, allocations: 0 / 0.5585 GB, free: 44.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.3831, allocations: 78 kB / 0.5586 GB, free: 43.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.183e-05/0.3831, allocations: 18.89 kB / 0.5586 GB, free: 43.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.3832, allocations: 2.375 kB / 0.5586 GB, free: 43.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.485e-05/0.3832, allocations: 17.42 kB / 0.5586 GB, free: 43.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.3833, allocations: 15.73 kB / 0.5587 GB, free: 43.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3833, allocations: 1.062 kB / 0.5587 GB, free: 43.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.3837, allocations: 286.4 kB / 0.5589 GB, free: 43.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.321e-05/0.3837, allocations: 0 / 0.5589 GB, free: 43.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.3838, allocations: 11.94 kB / 0.5589 GB, free: 43.72 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.3839, allocations: 99.77 kB / 0.559 GB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.384, allocations: 3.984 kB / 0.559 GB, free: 43.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.384, allocations: 0 / 0.559 GB, free: 43.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.384, allocations: 0 / 0.559 GB, free: 43.62 MB / 410.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.000463/0.3844, allocations: 363.9 kB / 0.5594 GB, free: 43.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3845, allocations: 12.03 kB / 0.5594 GB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.856e-05/0.3846, allocations: 8.922 kB / 0.5594 GB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.802e-05/0.3847, allocations: 164.3 kB / 0.5596 GB, free: 43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3847, allocations: 4.375 kB / 0.5596 GB, free: 43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.3847, allocations: 4.375 kB / 0.5596 GB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.3848, allocations: 46.25 kB / 0.5596 GB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.3849, allocations: 4.125 kB / 0.5596 GB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3849, allocations: 7.938 kB / 0.5596 GB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3849, allocations: 0 / 0.5596 GB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.357e-05/0.3849, allocations: 23.97 kB / 0.5597 GB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.3851, allocations: 173.5 kB / 0.5598 GB, free: 42.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.619e-05/0.3852, allocations: 58.55 kB / 0.5599 GB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4e-05/0.3853, allocations: 32.84 kB / 0.5599 GB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006272/0.3859, allocations: 461.5 kB / 0.5603 GB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.3859, allocations: 34.5 kB / 0.5604 GB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.3859, allocations: 0 / 0.5604 GB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001137/0.3871, allocations: 0.5994 MB / 0.561 GB, free: 41.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.3871, allocations: 51.41 kB / 0.561 GB, free: 41.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.511e-05/0.3872, allocations: 101.8 kB / 0.5611 GB, free: 41.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.3872, allocations: 25.7 kB / 0.5611 GB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.08e-05/0.3872, allocations: 84.14 kB / 0.5612 GB, free: 41.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.3872, allocations: 43.39 kB / 0.5613 GB, free: 40.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.3873, allocations: 25.72 kB / 0.5613 GB, free: 40.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.3873, allocations: 318.8 kB / 0.5616 GB, free: 40.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.3874, allocations: 23.98 kB / 0.5616 GB, free: 40.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.3874, allocations: 18.5 kB / 0.5616 GB, free: 40.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.275e-05/0.3875, allocations: 56.84 kB / 0.5617 GB, free: 40.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3875, allocations: 4 kB / 0.5617 GB, free: 40.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000123/0.3876, allocations: 102.3 kB / 0.5618 GB, free: 40.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3877, allocations: 4 kB / 0.5618 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3877, allocations: 0 / 0.5618 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3877, allocations: 4 kB / 0.5618 GB, free: 40.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.969e-05/0.3878, allocations: 23.98 kB / 0.5618 GB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3878, allocations: 0 / 0.5618 GB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.3878, allocations: 0 / 0.5618 GB, free: 40.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3878, allocations: 4 kB / 0.5618 GB, free: 40.38 MB / 410.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.3879, allocations: 117.8 kB / 0.5619 GB, free: 40.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.3879, allocations: 15.84 kB / 0.5619 GB, free: 40.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.3881, allocations: 101.6 kB / 0.562 GB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3881, allocations: 0 / 0.562 GB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3881, allocations: 8 kB / 0.562 GB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3881, allocations: 0 / 0.562 GB, free: 40.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.3884, allocations: 354.5 kB / 0.5624 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3884, allocations: 0 / 0.5624 GB, free: 39.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.645e-05/0.3885, allocations: 23.98 kB / 0.5624 GB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3886, allocations: 3.938 kB / 0.5624 GB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.3886, allocations: 0 / 0.5624 GB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3886, allocations: 0 / 0.5624 GB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3886, allocations: 8.094 kB / 0.5624 GB, free: 39.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/0.3903, allocations: 1.388 MB / 0.5638 GB, free: 38.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.3903, allocations: 85.09 kB / 0.5639 GB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.3903, allocations: 4 kB / 0.5639 GB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.3904, allocations: 7.938 kB / 0.5639 GB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.3905, allocations: 16.02 kB / 0.5639 GB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.747e-06/0.3905, allocations: 4 kB / 0.5639 GB, free: 38.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.388e-05/0.3905, allocations: 75.28 kB / 0.564 GB, free: 37.94 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3905, allocations: 0 / 0.564 GB, free: 37.94 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003239/0.3908, allocations: 48 kB / 0.564 GB, free: 37.89 MB / 410.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002022/0.3911, allocations: 143.2 kB / 0.5641 GB, free: 37.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.3912, allocations: 66.72 kB / 0.5642 GB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3912, allocations: 0 / 0.5642 GB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.806e-05/0.3912, allocations: 35.98 kB / 0.5642 GB, free: 37.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.3914, allocations: 8 kB / 0.5642 GB, free: 37.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.3918, allocations: 326.5 kB / 0.5646 GB, free: 37.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.3919, allocations: 0.6892 MB / 0.5652 GB, free: 36.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.68e-05/0.392, allocations: 12 kB / 0.5652 GB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.392, allocations: 15.38 kB / 0.5653 GB, free: 36.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.1e-07/0.392, allocations: 0 / 0.5653 GB, free: 36.54 MB / 410.7 MB Notification: Performance of Templates: time 0.00325/0.3953, allocations: 1.422 MB / 0.5666 GB, free: 35.12 MB / 410.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)