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.001138/0.001138, allocations: 111.9 kB / 17.04 MB, free: 5.812 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.001186/0.001186, allocations: 196 kB / 17.98 MB, free: 5.027 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.317/1.317, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7015/0.7015, allocations: 115.1 MB / 407 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3298, allocations: 76.15 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001699/0.3315, allocations: 0.6007 MB / 0.5582 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005445/0.3321, allocations: 353.4 kB / 0.5585 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.093e-05/0.3321, allocations: 0 / 0.5585 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.3321, allocations: 3.062 kB / 0.5585 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.455e-05/0.3322, allocations: 3.938 kB / 0.5585 GB, free: 36.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004098/0.3326, allocations: 121.7 kB / 0.5586 GB, free: 36.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.558e-05/0.3326, allocations: 23.05 kB / 0.5587 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.3327, allocations: 3.312 kB / 0.5587 GB, free: 36.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.362e-05/0.3327, allocations: 14.83 kB / 0.5587 GB, free: 36.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.701e-05/0.3328, allocations: 7.484 kB / 0.5587 GB, free: 36.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.3328, allocations: 1.812 kB / 0.5587 GB, free: 36.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003482/0.3331, allocations: 281.6 kB / 0.559 GB, free: 36 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.3332, allocations: 13.41 kB / 0.559 GB, free: 35.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.3332, allocations: 12.73 kB / 0.559 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.3334, allocations: 103.9 kB / 0.5591 GB, free: 35.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3334, allocations: 1.688 kB / 0.5591 GB, free: 35.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3334, allocations: 1.438 kB / 0.5591 GB, free: 35.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.3334, allocations: 0 / 0.5591 GB, free: 35.95 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.0003516/0.3338, allocations: 355.9 kB / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3338, allocations: 9.312 kB / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.3339, allocations: 9.344 kB / 0.5594 GB, free: 35.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.648e-05/0.334, allocations: 167.9 kB / 0.5596 GB, free: 35.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.334, allocations: 2.484 kB / 0.5596 GB, free: 35.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.334, allocations: 2.812 kB / 0.5596 GB, free: 35.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.3341, allocations: 54.78 kB / 0.5597 GB, free: 35.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.3342, allocations: 1.688 kB / 0.5597 GB, free: 35.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3342, allocations: 5.562 kB / 0.5597 GB, free: 35.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3342, allocations: 6.688 kB / 0.5597 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.956e-05/0.3342, allocations: 18.19 kB / 0.5597 GB, free: 35.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.3344, allocations: 169.5 kB / 0.5598 GB, free: 35.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.3345, allocations: 56.36 kB / 0.5599 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.3345, allocations: 29.22 kB / 0.5599 GB, free: 35.07 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000594/0.3351, allocations: 463.7 kB / 0.5604 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.3352, allocations: 40.06 kB / 0.5604 GB, free: 34.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3352, allocations: 1.406 kB / 0.5604 GB, free: 34.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001088/0.3363, allocations: 0.5886 MB / 0.561 GB, free: 34.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.3363, allocations: 53.48 kB / 0.561 GB, free: 33.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.517e-05/0.3364, allocations: 95.56 kB / 0.5611 GB, free: 33.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3364, allocations: 35.7 kB / 0.5612 GB, free: 33.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.861e-05/0.3364, allocations: 84.08 kB / 0.5612 GB, free: 33.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.3364, allocations: 39.08 kB / 0.5613 GB, free: 33.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.3365, allocations: 29.8 kB / 0.5613 GB, free: 33.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.224e-05/0.3365, allocations: 318.5 kB / 0.5616 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.816e-05/0.3366, allocations: 19.38 kB / 0.5616 GB, free: 33.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.502e-05/0.3366, allocations: 27.52 kB / 0.5617 GB, free: 33.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.036e-05/0.3367, allocations: 59.05 kB / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3367, allocations: 2.062 kB / 0.5617 GB, free: 33.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001368/0.3368, allocations: 104.5 kB / 0.5618 GB, free: 33.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3369, allocations: 5.531 kB / 0.5618 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3369, allocations: 1.062 kB / 0.5618 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.3369, allocations: 1.094 kB / 0.5618 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.337, allocations: 24.48 kB / 0.5618 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.337, allocations: 0.875 kB / 0.5618 GB, free: 33.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.305e-05/0.337, allocations: 5.859 kB / 0.5619 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.3371, allocations: 3.688 kB / 0.5619 GB, free: 33.27 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.982e-05/0.3371, allocations: 118 kB / 0.562 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.3371, allocations: 8.375 kB / 0.562 GB, free: 33.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.3373, allocations: 110.8 kB / 0.5621 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3373, allocations: 1.094 kB / 0.5621 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3373, allocations: 1.391 kB / 0.5621 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3373, allocations: 0 / 0.5621 GB, free: 33.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.3376, allocations: 350.3 kB / 0.5624 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.3376, allocations: 1.344 kB / 0.5624 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.3378, allocations: 20.52 kB / 0.5624 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3378, allocations: 1.094 kB / 0.5624 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3378, allocations: 6.531 kB / 0.5624 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3378, allocations: 0 / 0.5624 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3378, allocations: 2.969 kB / 0.5624 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.338, allocations: 220.5 kB / 0.5627 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.3381, allocations: 89.73 kB / 0.5627 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3381, allocations: 1.891 kB / 0.5627 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.3382, allocations: 8.922 kB / 0.5628 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.3382, allocations: 6.156 kB / 0.5628 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.3382, allocations: 3.469 kB / 0.5628 GB, free: 32.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.265e-05/0.3382, allocations: 83.47 kB / 0.5628 GB, free: 32.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3382, allocations: 0 / 0.5628 GB, free: 32.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.3385, allocations: 43.03 kB / 0.5629 GB, free: 32.4 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.000225/0.3387, allocations: 144 kB / 0.563 GB, free: 32.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.3389, allocations: 69.05 kB / 0.5631 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3389, allocations: 3 kB / 0.5631 GB, free: 32.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.339, allocations: 36.72 kB / 0.5631 GB, free: 32.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.3392, allocations: 14.52 kB / 0.5631 GB, free: 32.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003142/0.3395, allocations: 173.6 kB / 0.5633 GB, free: 32.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.3396, allocations: 0.6912 MB / 0.564 GB, free: 31.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.3397, allocations: 9.359 kB / 0.564 GB, free: 31.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.336e-05/0.3397, allocations: 14.05 kB / 0.564 GB, free: 31.41 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3397, allocations: 0.625 kB / 0.564 GB, free: 31.41 MB / 446.1 MB Notification: Performance of Templates: time 0.003961/0.3437, allocations: 1.412 MB / 0.5654 GB, free: 31.38 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)