Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4531/0.4531, allocations: 87.5 MB / 104.9 MB, free: 13.02 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.387/1.387, allocations: 222.9 MB / 349.1 MB, free: 2.77 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.0009467/0.0009467, allocations: 108.3 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 55.92 kB / 0.4891 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3597, allocations: 70.05 MB / 0.5575 GB, free: 44.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001688/0.3615, allocations: 0.6367 MB / 0.5581 GB, free: 44.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006135/0.3621, allocations: 353.3 kB / 0.5585 GB, free: 43.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.108e-05/0.3621, allocations: 0 / 0.5585 GB, free: 43.85 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.983e-05/0.3621, allocations: 1.094 kB / 0.5585 GB, free: 43.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.74e-06/0.3622, allocations: 1.312 kB / 0.5585 GB, free: 43.85 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.3625, allocations: 74.47 kB / 0.5585 GB, free: 43.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.893e-05/0.3626, allocations: 5.25 kB / 0.5585 GB, free: 43.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.3626, allocations: 0.875 kB / 0.5585 GB, free: 43.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.294e-05/0.3626, allocations: 1.219 kB / 0.5585 GB, free: 43.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.336e-05/0.3626, allocations: 1.125 kB / 0.5585 GB, free: 43.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.3627, allocations: 6.781 kB / 0.5585 GB, free: 43.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.3631, allocations: 274.2 kB / 0.5588 GB, free: 43.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.3631, allocations: 3.984 kB / 0.5588 GB, free: 43.64 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.3631, allocations: 1.156 kB / 0.5588 GB, free: 43.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.3633, allocations: 87.42 kB / 0.5589 GB, free: 43.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3633, allocations: 0 / 0.5589 GB, free: 43.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3633, allocations: 1.125 kB / 0.5589 GB, free: 43.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.3633, allocations: 4 kB / 0.5589 GB, free: 43.57 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002552/0.3636, allocations: 327.5 kB / 0.5592 GB, free: 43.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3636, allocations: 9.375 kB / 0.5592 GB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.3637, allocations: 6.281 kB / 0.5592 GB, free: 43.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.874e-05/0.3637, allocations: 160.4 kB / 0.5594 GB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.3637, allocations: 1.719 kB / 0.5594 GB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.3638, allocations: 4.312 kB / 0.5594 GB, free: 43.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.888e-05/0.3639, allocations: 32.3 kB / 0.5594 GB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3639, allocations: 192 / 0.5594 GB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.3639, allocations: 7.938 kB / 0.5594 GB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3639, allocations: 1.562 kB / 0.5594 GB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.841e-05/0.3639, allocations: 9.234 kB / 0.5594 GB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.977e-05/0.364, allocations: 143.1 kB / 0.5596 GB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.082e-05/0.3641, allocations: 19.7 kB / 0.5596 GB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.3641, allocations: 6.297 kB / 0.5596 GB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000411/0.3645, allocations: 433 kB / 0.56 GB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.3645, allocations: 31.66 kB / 0.56 GB, free: 42.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.3645, allocations: 0 / 0.56 GB, free: 42.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001295/0.3647, allocations: 42.97 kB / 0.5601 GB, free: 42.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.3647, allocations: 51.41 kB / 0.5601 GB, free: 42.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.743e-05/0.3647, allocations: 91.05 kB / 0.5602 GB, free: 42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.3647, allocations: 29.7 kB / 0.5602 GB, free: 41.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.02e-05/0.3647, allocations: 80.14 kB / 0.5603 GB, free: 41.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.3648, allocations: 5.031 kB / 0.5603 GB, free: 41.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.3648, allocations: 15.84 kB / 0.5603 GB, free: 41.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.435e-05/0.3649, allocations: 310.8 kB / 0.5606 GB, free: 41.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.336e-06/0.3649, allocations: 1.125 kB / 0.5606 GB, free: 41.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.214e-06/0.3649, allocations: 5.031 kB / 0.5606 GB, free: 41.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.3649, allocations: 16.25 kB / 0.5607 GB, free: 41.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3649, allocations: 0 / 0.5607 GB, free: 41.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.373e-05/0.365, allocations: 35.14 kB / 0.5607 GB, free: 41.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.365, allocations: 5.469 kB / 0.5607 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.365, allocations: 0 / 0.5607 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.365, allocations: 5 kB / 0.5607 GB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.163e-05/0.3651, allocations: 6.156 kB / 0.5607 GB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3651, allocations: 0 / 0.5607 GB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-06/0.3651, allocations: 0 / 0.5607 GB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.3651, allocations: 1.031 kB / 0.5607 GB, free: 41.48 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 (1): * Single equations (assignments): 1 * 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 4.241e-05/0.3651, allocations: 111 kB / 0.5608 GB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.3652, allocations: 5.078 kB / 0.5608 GB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.133e-05/0.3652, allocations: 45.89 kB / 0.5609 GB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3652, allocations: 0 / 0.5609 GB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3653, allocations: 1.156 kB / 0.5609 GB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3653, allocations: 0 / 0.5609 GB, free: 41.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.449e-05/0.3653, allocations: 150.8 kB / 0.561 GB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3653, allocations: 8.031 kB / 0.561 GB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.09e-05/0.3653, allocations: 2.156 kB / 0.561 GB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3654, allocations: 1.062 kB / 0.561 GB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.3654, allocations: 3.938 kB / 0.561 GB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.3654, allocations: 3.938 kB / 0.561 GB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3654, allocations: 1.094 kB / 0.561 GB, free: 41.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.3656, allocations: 0.6028 MB / 0.5616 GB, free: 40.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.3656, allocations: 78.3 kB / 0.5617 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.3656, allocations: 3.984 kB / 0.5617 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-06/0.3656, allocations: 1.438 kB / 0.5617 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.542e-05/0.3656, allocations: 0 / 0.5617 GB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-06/0.3656, allocations: 1.438 kB / 0.5617 GB, free: 40.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.281e-05/0.3657, allocations: 75.28 kB / 0.5618 GB, free: 40.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3657, allocations: 0 / 0.5618 GB, free: 40.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003209/0.366, allocations: 14.8 kB / 0.5618 GB, free: 40.28 MB / 410.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0001628/0.3662, allocations: 121.6 kB / 0.5619 GB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.107e-05/0.3662, allocations: 2.906 kB / 0.5619 GB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3662, allocations: 5.562 kB / 0.5619 GB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.661e-06/0.3662, allocations: 1.281 kB / 0.5619 GB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.3664, allocations: 9.359 kB / 0.5619 GB, free: 40.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001844/0.3665, allocations: 175.9 kB / 0.5621 GB, free: 39.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.869e-05/0.3667, allocations: 0.6788 MB / 0.5627 GB, free: 39.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.72e-05/0.3667, allocations: 5.125 kB / 0.5628 GB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.025e-06/0.3667, allocations: 7.438 kB / 0.5628 GB, free: 39.25 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3667, allocations: 0 / 0.5628 GB, free: 39.25 MB / 410.7 MB Notification: Performance of Templates: time 0.002019/0.3687, allocations: 451.8 kB / 0.5632 GB, free: 38.87 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)