Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001199/0.001199, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 196.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.188/1.188, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.568/1.568, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 69.75 kB / 0.6715 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1926, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001566/0.1942, allocations: 0.6238 MB / 0.784 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005519/0.1948, allocations: 346.7 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.848e-05/0.1948, allocations: 4 kB / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.035e-06/0.1949, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.865e-05/0.1949, allocations: 0 / 0.7843 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.1952, allocations: 119.6 kB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.855e-05/0.1953, allocations: 19.94 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.893e-05/0.1953, allocations: 3.984 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.774e-05/0.1953, allocations: 12 kB / 0.7845 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.1954, allocations: 19.91 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1954, allocations: 0 / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.1958, allocations: 271.7 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.1958, allocations: 15.92 kB / 0.7848 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.1958, allocations: 15.94 kB / 0.7848 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.196, allocations: 95.77 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.196, allocations: 3.938 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.22e-07/0.196, allocations: 0 / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.196, allocations: 4 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB 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.0003105/0.1963, allocations: 367.6 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.1963, allocations: 8.031 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.1964, allocations: 4.938 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.744e-05/0.1965, allocations: 164.4 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.1965, allocations: 8.375 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.1965, allocations: 8.281 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.145e-05/0.1966, allocations: 46.25 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1966, allocations: 4.188 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1967, allocations: 3.938 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1967, allocations: 0 / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.725e-05/0.1967, allocations: 23.97 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.1969, allocations: 169.6 kB / 0.7856 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.242e-05/0.197, allocations: 66.53 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.197, allocations: 24.86 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006178/0.1976, allocations: 461.5 kB / 0.7862 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1977, allocations: 34.56 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1977, allocations: 0 / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001078/0.1987, allocations: 0.5917 MB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.1988, allocations: 55.41 kB / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.226e-05/0.1988, allocations: 105.8 kB / 0.7869 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1989, allocations: 25.7 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.1989, allocations: 80.14 kB / 0.787 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.1989, allocations: 43.36 kB / 0.7871 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.199, allocations: 21.72 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.809e-05/0.1991, allocations: 322.8 kB / 0.7874 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.687e-05/0.1991, allocations: 20 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.1991, allocations: 23.98 kB / 0.7875 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.428e-05/0.1992, allocations: 64.16 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1992, allocations: 0 / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001422/0.1994, allocations: 97.62 kB / 0.7876 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.1994, allocations: 4 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1994, allocations: 3.984 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-06/0.1994, allocations: 3.938 kB / 0.7876 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.1995, allocations: 23.98 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.1995, allocations: 0 / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.1996, allocations: 8 kB / 0.7876 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1996, allocations: 4 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB 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 7.299e-05/0.1997, allocations: 109.8 kB / 0.7878 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.1997, allocations: 11.84 kB / 0.7878 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.1999, allocations: 109.6 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1999, allocations: 96 / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.1999, allocations: 3.938 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1999, allocations: 0 / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.2002, allocations: 358.5 kB / 0.7882 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2002, allocations: 3.938 kB / 0.7882 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.87e-05/0.2003, allocations: 19.98 kB / 0.7882 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.2003, allocations: 4 kB / 0.7882 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.2004, allocations: 4 kB / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2004, allocations: 0 / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2004, allocations: 0 / 0.7882 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.2006, allocations: 231.3 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.2007, allocations: 85.12 kB / 0.7885 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.2007, allocations: 0 / 0.7885 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.2008, allocations: 8.172 kB / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.2008, allocations: 7.938 kB / 0.7886 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.2008, allocations: 7.984 kB / 0.7886 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.401e-05/0.2008, allocations: 87.27 kB / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2008, allocations: 0 / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002507/0.2011, allocations: 40 kB / 0.7887 GB, free: 7.5 MB / 0.6075 GB 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.0001944/0.2013, allocations: 139.3 kB / 0.7888 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.2014, allocations: 79.78 kB / 0.7889 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2014, allocations: 0 / 0.7889 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.429e-05/0.2015, allocations: 32.36 kB / 0.7889 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.2017, allocations: 10.44 kB / 0.7889 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.2019, allocations: 182.3 kB / 0.7891 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.2022, allocations: 0.6924 MB / 0.7898 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.962e-05/0.2022, allocations: 4 kB / 0.7898 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.2022, allocations: 11.44 kB / 0.7898 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2022, allocations: 7.938 kB / 0.7898 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of Templates: time 0.003109/0.2054, allocations: 1.399 MB / 0.7912 GB, free: 4.898 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)