Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.65/2.65, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001665/0.001665, allocations: 175.8 kB / 325.6 MB, free: 2.82 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.394/2.394, allocations: 205.4 MB / 0.5766 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001654/0.001653, allocations: 99.91 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004876, allocations: 15.84 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2112, allocations: 106.3 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.000677/0.2119, allocations: 268.5 kB / 0.8991 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004937/0.2124, allocations: 176.6 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.2125, allocations: 4 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.2125, allocations: 0 / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.794e-05/0.2126, allocations: 4 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.2129, allocations: 47.81 kB / 0.8993 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.621e-05/0.213, allocations: 7.984 kB / 0.8994 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.213, allocations: 0 / 0.8994 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.218e-05/0.2131, allocations: 7.984 kB / 0.8994 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.33e-05/0.2131, allocations: 3.938 kB / 0.8994 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.2131, allocations: 0 / 0.8994 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.2134, allocations: 115.8 kB / 0.8995 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.846e-05/0.2134, allocations: 4 kB / 0.8995 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.2135, allocations: 29.64 kB / 0.8995 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.2136, allocations: 51.92 kB / 0.8996 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2136, allocations: 0 / 0.8996 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2136, allocations: 0 / 0.8996 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2136, allocations: 0 / 0.8996 GB, free: 65.27 MB / 0.6042 GB 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.0002782/0.2139, allocations: 335.3 kB / 0.8999 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.214, allocations: 12.03 kB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.214, allocations: 7.906 kB / 0.8999 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.951e-05/0.2141, allocations: 171 kB / 0.9001 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.2142, allocations: 0 / 0.9001 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.2142, allocations: 0 / 0.9001 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.2143, allocations: 41.7 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.2143, allocations: 0 / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.2143, allocations: 0 / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.2144, allocations: 3.984 kB / 0.9001 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.505e-05/0.2144, allocations: 19.86 kB / 0.9001 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.2146, allocations: 165.7 kB / 0.9003 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.077e-05/0.2146, allocations: 19.58 kB / 0.9003 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.2147, allocations: 12.05 kB / 0.9003 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.2147, allocations: 38.56 kB / 0.9003 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.2147, allocations: 0 / 0.9003 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0005639/0.2153, allocations: 294.2 kB / 0.9006 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.2153, allocations: 51.41 kB / 0.9007 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.2154, allocations: 110.1 kB / 0.9008 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.2154, allocations: 29.7 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.857e-05/0.2155, allocations: 88.08 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.2155, allocations: 11.81 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.2155, allocations: 4 kB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.877e-05/0.2156, allocations: 318.8 kB / 0.9012 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.056e-05/0.2156, allocations: 15.94 kB / 0.9012 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.2157, allocations: 25.7 kB / 0.9012 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.991e-05/0.2157, allocations: 16 kB / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2157, allocations: 0 / 0.9013 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001214/0.2159, allocations: 69.62 kB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2159, allocations: 7.984 kB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2159, allocations: 0 / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2159, allocations: 4 kB / 0.9013 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.115e-05/0.216, allocations: 4 kB / 0.9013 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.2161, allocations: 0 / 0.9013 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.2161, allocations: 4 kB / 0.9014 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.2161, allocations: 4.375 kB / 0.9014 GB, free: 63.16 MB / 0.6042 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.984e-05/0.2162, allocations: 113.8 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.364e-05/0.2162, allocations: 3.906 kB / 0.9015 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.2164, allocations: 81.5 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2164, allocations: 0 / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2165, allocations: 3.984 kB / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2165, allocations: 0 / 0.9015 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.2166, allocations: 165.6 kB / 0.9017 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2166, allocations: 4 kB / 0.9017 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.393e-05/0.2167, allocations: 7.938 kB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2167, allocations: 0 / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.2167, allocations: 7.984 kB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2167, allocations: 0 / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2167, allocations: 0 / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.2169, allocations: 97.11 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.217, allocations: 89 kB / 0.9019 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.217, allocations: 4.062 kB / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.395e-05/0.2171, allocations: 4 kB / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.2171, allocations: 11.92 kB / 0.9019 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.2171, allocations: 240 / 0.9019 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.2172, allocations: 87.28 kB / 0.902 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2172, allocations: 0 / 0.902 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000284/0.2175, allocations: 19.98 kB / 0.902 GB, free: 62.36 MB / 0.6042 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001998/0.2177, allocations: 123.2 kB / 0.9021 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.2178, allocations: 27.98 kB / 0.9022 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2178, allocations: 0 / 0.9022 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.334e-05/0.2179, allocations: 23.92 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.218, allocations: 7.938 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.2183, allocations: 140.9 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2185, allocations: 0.6848 MB / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.042e-05/0.2185, allocations: 12.06 kB / 0.903 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.2185, allocations: 7.438 kB / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of SimCode: time 8.71e-07/0.2186, allocations: 0 / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of Templates: time 0.003806/0.2224, allocations: 0.8515 MB / 0.9039 GB, free: 60.43 MB / 0.6042 GB