Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8189/0.8189, allocations: 143.4 MB / 159.2 MB, free: 4.941 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 183.7 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 447.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 118.6 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002717/0.002717, allocations: 287.5 kB / 0.5973 GB, free: 49.4 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 83.88 kB / 0.6886 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.333, allocations: 81.29 MB / 0.7679 GB, free: 27.71 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001729/0.3348, allocations: 0.6871 MB / 0.7686 GB, free: 27.02 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006146/0.3354, allocations: 372.8 kB / 0.769 GB, free: 26.66 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.84e-05/0.3354, allocations: 0 / 0.769 GB, free: 26.66 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.3355, allocations: 3.938 kB / 0.769 GB, free: 26.66 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.575e-05/0.3355, allocations: 0 / 0.769 GB, free: 26.66 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003615/0.3359, allocations: 83.83 kB / 0.769 GB, free: 26.57 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.927e-05/0.3359, allocations: 19.92 kB / 0.7691 GB, free: 26.55 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.336, allocations: 8 kB / 0.7691 GB, free: 26.55 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.019e-05/0.336, allocations: 7.984 kB / 0.7691 GB, free: 26.54 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.529e-05/0.3361, allocations: 19.86 kB / 0.7691 GB, free: 26.52 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.3361, allocations: 4 kB / 0.7691 GB, free: 26.52 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.3364, allocations: 275.6 kB / 0.7694 GB, free: 26.25 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.3364, allocations: 4 kB / 0.7694 GB, free: 26.24 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.3364, allocations: 19.86 kB / 0.7694 GB, free: 26.22 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.3366, allocations: 95.83 kB / 0.7695 GB, free: 26.13 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3366, allocations: 0 / 0.7695 GB, free: 26.13 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3366, allocations: 7.938 kB / 0.7695 GB, free: 26.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.3366, allocations: 0 / 0.7695 GB, free: 26.12 MB / 458.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.0003703/0.337, allocations: 362.2 kB / 0.7698 GB, free: 25.72 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.337, allocations: 8.031 kB / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.3371, allocations: 4.938 kB / 0.7698 GB, free: 25.71 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.349e-05/0.3372, allocations: 164.4 kB / 0.77 GB, free: 25.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3372, allocations: 4.312 kB / 0.77 GB, free: 25.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.3372, allocations: 12.38 kB / 0.77 GB, free: 25.49 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.3373, allocations: 42.25 kB / 0.7701 GB, free: 25.45 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3373, allocations: 8.172 kB / 0.7701 GB, free: 25.44 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.3374, allocations: 3.938 kB / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3374, allocations: 0 / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.759e-05/0.3374, allocations: 27.92 kB / 0.7701 GB, free: 25.41 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.3376, allocations: 169.5 kB / 0.7703 GB, free: 25.19 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.634e-05/0.3377, allocations: 58.55 kB / 0.7703 GB, free: 25.12 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.3377, allocations: 32.84 kB / 0.7703 GB, free: 25.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005544/0.3383, allocations: 453.7 kB / 0.7708 GB, free: 24.55 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.3383, allocations: 42.55 kB / 0.7708 GB, free: 24.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.694e-06/0.3383, allocations: 0 / 0.7708 GB, free: 24.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.001065/0.3394, allocations: 0.5876 MB / 0.7714 GB, free: 23.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.996e-05/0.3394, allocations: 51.41 kB / 0.7714 GB, free: 23.76 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.3395, allocations: 105.8 kB / 0.7715 GB, free: 23.65 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.3395, allocations: 29.7 kB / 0.7716 GB, free: 23.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.524e-05/0.3395, allocations: 80.14 kB / 0.7717 GB, free: 23.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.3395, allocations: 47.38 kB / 0.7717 GB, free: 23.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.3396, allocations: 21.72 kB / 0.7717 GB, free: 23.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.3396, allocations: 318.8 kB / 0.772 GB, free: 23.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.38e-05/0.3397, allocations: 19.98 kB / 0.772 GB, free: 23.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.245e-05/0.3397, allocations: 24 kB / 0.7721 GB, free: 23.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.337e-05/0.3398, allocations: 62.22 kB / 0.7721 GB, free: 23.03 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3398, allocations: 0 / 0.7721 GB, free: 23.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00014/0.3399, allocations: 102.7 kB / 0.7722 GB, free: 22.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.34, allocations: 9.562 kB / 0.7722 GB, free: 22.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.34, allocations: 0 / 0.7722 GB, free: 22.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.34, allocations: 3.938 kB / 0.7722 GB, free: 22.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.3401, allocations: 19.98 kB / 0.7723 GB, free: 22.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3401, allocations: 4 kB / 0.7723 GB, free: 22.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.3401, allocations: 4 kB / 0.7723 GB, free: 22.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3401, allocations: 4 kB / 0.7723 GB, free: 22.88 MB / 458.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.025e-05/0.3402, allocations: 117.8 kB / 0.7724 GB, free: 22.76 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.3402, allocations: 7.938 kB / 0.7724 GB, free: 22.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.3404, allocations: 105.5 kB / 0.7725 GB, free: 22.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3404, allocations: 4 kB / 0.7725 GB, free: 22.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3404, allocations: 0 / 0.7725 GB, free: 22.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3404, allocations: 0 / 0.7725 GB, free: 22.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.3407, allocations: 354.4 kB / 0.7728 GB, free: 22.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3407, allocations: 0 / 0.7728 GB, free: 22.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-05/0.3408, allocations: 27.98 kB / 0.7729 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3408, allocations: 0 / 0.7729 GB, free: 22.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3408, allocations: 8.094 kB / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3409, allocations: 3.938 kB / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3409, allocations: 0 / 0.7729 GB, free: 22.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.3425, allocations: 1.384 MB / 0.7742 GB, free: 20.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.335e-05/0.3426, allocations: 89.03 kB / 0.7743 GB, free: 20.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.3426, allocations: 4 kB / 0.7743 GB, free: 20.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.3427, allocations: 7.938 kB / 0.7743 GB, free: 20.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.3427, allocations: 7.984 kB / 0.7743 GB, free: 20.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.3427, allocations: 4 kB / 0.7743 GB, free: 20.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.254e-05/0.3427, allocations: 79.28 kB / 0.7744 GB, free: 20.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3428, allocations: 0 / 0.7744 GB, free: 20.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00033/0.3431, allocations: 52.09 kB / 0.7744 GB, free: 20.4 MB / 458.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.0002324/0.3433, allocations: 143.7 kB / 0.7746 GB, free: 20.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001348/0.3435, allocations: 59.86 kB / 0.7746 GB, free: 20.19 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3435, allocations: 4 kB / 0.7746 GB, free: 20.19 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.818e-05/0.3435, allocations: 31.92 kB / 0.7747 GB, free: 20.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.3438, allocations: 14.61 kB / 0.7747 GB, free: 20.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.3442, allocations: 318.6 kB / 0.775 GB, free: 19.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.3443, allocations: 0.6887 MB / 0.7757 GB, free: 19.08 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.881e-05/0.3444, allocations: 11.98 kB / 0.7757 GB, free: 19.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.019e-05/0.3444, allocations: 11.44 kB / 0.7757 GB, free: 19.05 MB / 458.7 MB Notification: Performance of SimCode: time 1.263e-06/0.3444, allocations: 4 kB / 0.7757 GB, free: 19.05 MB / 458.7 MB Notification: Performance of Templates: time 0.003486/0.3479, allocations: 1.422 MB / 0.7771 GB, free: 17.66 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)