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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001247, allocations: 113.4 kB / 17.04 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 195 kB / 17.98 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 241.7 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6744/0.6744, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001182, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3216, allocations: 76.15 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001696/0.3233, allocations: 0.5764 MB / 0.5582 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005589/0.3239, allocations: 351.7 kB / 0.5585 GB, free: 36.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.181e-05/0.3239, allocations: 0 / 0.5585 GB, free: 36.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.026e-05/0.3239, allocations: 0 / 0.5585 GB, free: 36.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.807e-05/0.3239, allocations: 0 / 0.5585 GB, free: 36.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.3244, allocations: 114 kB / 0.5586 GB, free: 36.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.339e-05/0.3244, allocations: 10.42 kB / 0.5586 GB, free: 36.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.3245, allocations: 4.938 kB / 0.5586 GB, free: 36.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.573e-05/0.3245, allocations: 6.438 kB / 0.5586 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.3245, allocations: 3.766 kB / 0.5586 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.3245, allocations: 1.344 kB / 0.5586 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.3249, allocations: 272.8 kB / 0.5589 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.3249, allocations: 5.656 kB / 0.5589 GB, free: 35.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.774e-05/0.3249, allocations: 8.141 kB / 0.5589 GB, free: 35.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.3251, allocations: 90.97 kB / 0.559 GB, free: 35.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3251, allocations: 0 / 0.559 GB, free: 35.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3251, allocations: 0 / 0.559 GB, free: 35.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3251, allocations: 1.062 kB / 0.559 GB, free: 35.92 MB / 446.1 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.0002663/0.3254, allocations: 339.8 kB / 0.5593 GB, free: 35.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3254, allocations: 11.16 kB / 0.5593 GB, free: 35.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.3255, allocations: 2.719 kB / 0.5593 GB, free: 35.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.137e-05/0.3256, allocations: 167.7 kB / 0.5595 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3256, allocations: 1.531 kB / 0.5595 GB, free: 35.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.3256, allocations: 5.75 kB / 0.5595 GB, free: 35.35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.948e-05/0.3257, allocations: 34.11 kB / 0.5595 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.3257, allocations: 1.344 kB / 0.5595 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.3257, allocations: 3.938 kB / 0.5595 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.3257, allocations: 4.688 kB / 0.5595 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.901e-05/0.3258, allocations: 3.203 kB / 0.5595 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.3259, allocations: 163.5 kB / 0.5597 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.855e-05/0.3259, allocations: 25.5 kB / 0.5597 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.3259, allocations: 13.03 kB / 0.5597 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006051/0.3266, allocations: 459 kB / 0.5602 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.3266, allocations: 31.81 kB / 0.5602 GB, free: 34.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3266, allocations: 0 / 0.5602 GB, free: 34.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004123/0.327, allocations: 253.3 kB / 0.5604 GB, free: 34.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/0.327, allocations: 57.12 kB / 0.5605 GB, free: 34.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.055e-05/0.3271, allocations: 94.78 kB / 0.5606 GB, free: 34.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.3271, allocations: 26.67 kB / 0.5606 GB, free: 34.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.478e-05/0.3271, allocations: 85.61 kB / 0.5607 GB, free: 34.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.3271, allocations: 15.27 kB / 0.5607 GB, free: 34.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.3272, allocations: 17.95 kB / 0.5607 GB, free: 34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.3272, allocations: 313.4 kB / 0.561 GB, free: 33.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.3272, allocations: 7.922 kB / 0.561 GB, free: 33.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/0.3273, allocations: 22.11 kB / 0.5611 GB, free: 33.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.193e-05/0.3273, allocations: 29.86 kB / 0.5611 GB, free: 33.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3273, allocations: 0 / 0.5611 GB, free: 33.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.779e-05/0.3274, allocations: 53.83 kB / 0.5611 GB, free: 33.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3274, allocations: 10.38 kB / 0.5611 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3274, allocations: 0 / 0.5611 GB, free: 33.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.3275, allocations: 5.094 kB / 0.5611 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.405e-05/0.3275, allocations: 8.078 kB / 0.5612 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3275, allocations: 1.125 kB / 0.5612 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.3276, allocations: 1.203 kB / 0.5612 GB, free: 33.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.3276, allocations: 3.281 kB / 0.5612 GB, free: 33.59 MB / 446.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.3276, allocations: 112.2 kB / 0.5613 GB, free: 33.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.3276, allocations: 6.797 kB / 0.5613 GB, free: 33.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.3278, allocations: 57.8 kB / 0.5613 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3278, allocations: 2.312 kB / 0.5613 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3278, allocations: 0 / 0.5613 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3278, allocations: 0 / 0.5613 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.043e-05/0.3278, allocations: 153.8 kB / 0.5615 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3279, allocations: 0 / 0.5615 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.3279, allocations: 6.078 kB / 0.5615 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3279, allocations: 5.406 kB / 0.5615 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.3279, allocations: 2.031 kB / 0.5615 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3279, allocations: 0 / 0.5615 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3279, allocations: 1.797 kB / 0.5615 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.3281, allocations: 77.25 kB / 0.5616 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.3281, allocations: 87.23 kB / 0.5616 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.3281, allocations: 4.641 kB / 0.5617 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-05/0.3281, allocations: 2.25 kB / 0.5617 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.3282, allocations: 3.781 kB / 0.5617 GB, free: 33.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.3282, allocations: 1.312 kB / 0.5617 GB, free: 33.06 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.687e-05/0.3282, allocations: 83.72 kB / 0.5617 GB, free: 32.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3282, allocations: 0.7188 kB / 0.5617 GB, free: 32.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002048/0.3284, allocations: 24.52 kB / 0.5618 GB, free: 32.98 MB / 446.1 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 () * Number of clocked 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 (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.0001602/0.3286, allocations: 130.7 kB / 0.5619 GB, free: 32.88 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.693e-05/0.3287, allocations: 22.25 kB / 0.5619 GB, free: 32.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3287, allocations: 1.344 kB / 0.5619 GB, free: 32.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.634e-05/0.3287, allocations: 10.7 kB / 0.5619 GB, free: 32.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.3288, allocations: 4.438 kB / 0.5619 GB, free: 32.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001954/0.329, allocations: 111.7 kB / 0.562 GB, free: 32.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.539e-05/0.3291, allocations: 0.6765 MB / 0.5627 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.504e-05/0.3292, allocations: 9.141 kB / 0.5627 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.3292, allocations: 9.062 kB / 0.5627 GB, free: 32.05 MB / 446.1 MB Notification: Performance of SimCode: time 1.8e-07/0.3292, allocations: 1.438 kB / 0.5627 GB, free: 32.05 MB / 446.1 MB Notification: Performance of Templates: time 0.003034/0.3322, allocations: 0.8659 MB / 0.5636 GB, free: 32.02 MB / 446.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)