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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 108.3 kB / 17.04 MB, free: 6.055 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.001052/0.001052, allocations: 195 kB / 17.98 MB, free: 5.141 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.252/1.252, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6862/0.6862, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 72.11 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3227, allocations: 76.14 MB / 0.5576 GB, free: 36.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001726/0.3245, allocations: 0.6129 MB / 0.5582 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005643/0.3251, allocations: 354.4 kB / 0.5585 GB, free: 36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.3251, allocations: 1.062 kB / 0.5585 GB, free: 36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.3252, allocations: 0 / 0.5585 GB, free: 36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.284e-05/0.3252, allocations: 3.938 kB / 0.5585 GB, free: 36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.3256, allocations: 119.2 kB / 0.5586 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.78e-05/0.3257, allocations: 19.31 kB / 0.5587 GB, free: 35.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.3257, allocations: 6.297 kB / 0.5587 GB, free: 35.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.488e-05/0.3258, allocations: 19.61 kB / 0.5587 GB, free: 35.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.3258, allocations: 6.656 kB / 0.5587 GB, free: 35.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3258, allocations: 5.281 kB / 0.5587 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.3262, allocations: 270.7 kB / 0.559 GB, free: 35.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.3262, allocations: 9.156 kB / 0.559 GB, free: 35.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.3262, allocations: 17.47 kB / 0.559 GB, free: 35.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.3264, allocations: 106.1 kB / 0.5591 GB, free: 35.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3264, allocations: 0 / 0.5591 GB, free: 35.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3264, allocations: 0.6875 kB / 0.5591 GB, free: 35.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.3264, allocations: 0 / 0.5591 GB, free: 35.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003295/0.3268, allocations: 356.7 kB / 0.5594 GB, free: 35.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3268, allocations: 8.812 kB / 0.5594 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.3269, allocations: 7.406 kB / 0.5594 GB, free: 35.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.479e-05/0.327, allocations: 172.8 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.327, allocations: 3.031 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.327, allocations: 3.094 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.3271, allocations: 52.2 kB / 0.5597 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3271, allocations: 192 / 0.5597 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3271, allocations: 6 kB / 0.5597 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3272, allocations: 1.188 kB / 0.5597 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.97e-05/0.3272, allocations: 23.45 kB / 0.5597 GB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001273/0.3273, allocations: 166 kB / 0.5598 GB, free: 35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.322e-05/0.3274, allocations: 58.2 kB / 0.5599 GB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.3275, allocations: 30.61 kB / 0.5599 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005638/0.3281, allocations: 466.5 kB / 0.5604 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.3281, allocations: 36.59 kB / 0.5604 GB, free: 34.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.3281, allocations: 1.312 kB / 0.5604 GB, free: 34.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001097/0.3292, allocations: 0.5902 MB / 0.561 GB, free: 33.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.3292, allocations: 53.3 kB / 0.561 GB, free: 33.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.57e-05/0.3293, allocations: 102.4 kB / 0.5611 GB, free: 33.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.3293, allocations: 31.14 kB / 0.5612 GB, free: 33.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.627e-05/0.3293, allocations: 86.14 kB / 0.5612 GB, free: 33.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.124e-05/0.3294, allocations: 36.23 kB / 0.5613 GB, free: 33.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.3294, allocations: 27.94 kB / 0.5613 GB, free: 33.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.596e-05/0.3295, allocations: 317.8 kB / 0.5616 GB, free: 33.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.3295, allocations: 19.73 kB / 0.5616 GB, free: 33.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.3295, allocations: 23.97 kB / 0.5617 GB, free: 33.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.189e-05/0.3296, allocations: 59.52 kB / 0.5617 GB, free: 33.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3296, allocations: 0.6094 kB / 0.5617 GB, free: 33.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001408/0.3298, allocations: 104.1 kB / 0.5618 GB, free: 33.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3298, allocations: 6.125 kB / 0.5618 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.3298, allocations: 0 / 0.5618 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3298, allocations: 1.781 kB / 0.5618 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.3299, allocations: 21.5 kB / 0.5618 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3299, allocations: 0.7031 kB / 0.5618 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.33, allocations: 6.5 kB / 0.5618 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.33, allocations: 2.781 kB / 0.5618 GB, free: 33.15 MB / 446.1 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 4.959e-05/0.33, allocations: 115.4 kB / 0.562 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.3301, allocations: 7.609 kB / 0.562 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001786/0.3303, allocations: 114.2 kB / 0.5621 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3303, allocations: 6.531 kB / 0.5621 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3303, allocations: 0.8906 kB / 0.5621 GB, free: 32.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.3303, allocations: 6.828 kB / 0.5621 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.3306, allocations: 353 kB / 0.5624 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3306, allocations: 0.8906 kB / 0.5624 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.3307, allocations: 20.81 kB / 0.5624 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3307, allocations: 2.562 kB / 0.5624 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.3307, allocations: 4 kB / 0.5625 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3307, allocations: 3.875 kB / 0.5625 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3307, allocations: 0 / 0.5625 GB, free: 32.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.331, allocations: 222.1 kB / 0.5627 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.461e-05/0.331, allocations: 88.62 kB / 0.5628 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.331, allocations: 1.844 kB / 0.5628 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.81e-05/0.3311, allocations: 5.891 kB / 0.5628 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.3311, allocations: 7.531 kB / 0.5628 GB, free: 32.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.3311, allocations: 4.656 kB / 0.5628 GB, free: 32.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.085e-05/0.3312, allocations: 86.12 kB / 0.5629 GB, free: 32.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3312, allocations: 0.6875 kB / 0.5629 GB, free: 32.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.3315, allocations: 40.72 kB / 0.5629 GB, free: 32.27 MB / 446.1 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.0002028/0.3317, allocations: 144.5 kB / 0.563 GB, free: 32.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001324/0.3318, allocations: 68.95 kB / 0.5631 GB, free: 32.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3318, allocations: 0 / 0.5631 GB, free: 32.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.495e-05/0.3319, allocations: 33.69 kB / 0.5631 GB, free: 32.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.3321, allocations: 7.516 kB / 0.5631 GB, free: 32.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.3324, allocations: 180.5 kB / 0.5633 GB, free: 31.99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.3325, allocations: 0.6907 MB / 0.564 GB, free: 31.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.653e-05/0.3326, allocations: 9 kB / 0.564 GB, free: 31.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.221e-05/0.3326, allocations: 14.97 kB / 0.564 GB, free: 31.28 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3326, allocations: 0 / 0.564 GB, free: 31.28 MB / 446.1 MB Notification: Performance of Templates: time 0.00379/0.3364, allocations: 1.411 MB / 0.5654 GB, free: 31.24 MB / 446.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)