Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.702/2.702, 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.002347/0.002347, allocations: 179.6 kB / 325.6 MB, free: 2.844 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.514/2.514, allocations: 205.4 MB / 0.5766 GB, free: 20.84 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.00109/0.00109, allocations: 92.11 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004819, allocations: 13.31 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2279, allocations: 106.2 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007439/0.2287, allocations: 321.1 kB / 0.8992 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001942/0.2289, allocations: 36.77 kB / 0.8992 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.049e-05/0.2289, allocations: 0 / 0.8992 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.2289, allocations: 4 kB / 0.8992 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.205e-06/0.2289, allocations: 0 / 0.8992 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.2292, allocations: 15.92 kB / 0.8992 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.701e-05/0.2293, allocations: 0 / 0.8992 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.2293, allocations: 4 kB / 0.8993 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.609e-05/0.2293, allocations: 0 / 0.8993 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.2294, allocations: 0 / 0.8993 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.2294, allocations: 3.938 kB / 0.8993 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.373e-05/0.2295, allocations: 19.97 kB / 0.8993 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.794e-06/0.2295, allocations: 0 / 0.8993 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.2296, allocations: 29.7 kB / 0.8993 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.826e-05/0.2297, allocations: 15.97 kB / 0.8993 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.2297, allocations: 0 / 0.8993 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.234e-06/0.2297, allocations: 0 / 0.8993 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.2297, allocations: 0 / 0.8993 GB, free: 65.04 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002352/0.2299, allocations: 307.4 kB / 0.8996 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.23, allocations: 12.09 kB / 0.8996 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.23, allocations: 0 / 0.8996 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.543e-05/0.2301, allocations: 167 kB / 0.8998 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2301, allocations: 0 / 0.8998 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.2301, allocations: 4 kB / 0.8998 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.2303, allocations: 37.69 kB / 0.8998 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.2303, allocations: 0 / 0.8998 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2303, allocations: 4 kB / 0.8998 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2303, allocations: 0 / 0.8998 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.349e-05/0.2303, allocations: 0 / 0.8998 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.2305, allocations: 149.6 kB / 0.9 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/0.2305, allocations: 22.5 kB / 0.9 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.513e-05/0.2306, allocations: 8.094 kB / 0.9 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.2306, allocations: 34.56 kB / 0.9 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.374e-06/0.2306, allocations: 0 / 0.9 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001411/0.2308, allocations: 37.55 kB / 0.9001 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.2308, allocations: 51.41 kB / 0.9001 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.255e-05/0.2309, allocations: 89.86 kB / 0.9002 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.397e-06/0.2309, allocations: 29.7 kB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.737e-05/0.2309, allocations: 84.27 kB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.231, allocations: 3.938 kB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.231, allocations: 0 / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.2311, allocations: 318.8 kB / 0.9006 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.2311, allocations: 0 / 0.9006 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.049e-05/0.2311, allocations: 4 kB / 0.9006 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.2311, allocations: 3.953 kB / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2311, allocations: 0 / 0.9006 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.115e-05/0.2312, allocations: 37.77 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2312, allocations: 4 kB / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2313, allocations: 0 / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2313, allocations: 0 / 0.9007 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.587e-05/0.2314, allocations: 7.984 kB / 0.9007 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.2314, allocations: 0 / 0.9007 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.769e-05/0.2314, allocations: 3.938 kB / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.2314, allocations: 0 / 0.9007 GB, free: 63.43 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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 5.861e-05/0.2315, allocations: 109.8 kB / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.2315, allocations: 7.938 kB / 0.9008 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.2317, allocations: 44.84 kB / 0.9008 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2317, allocations: 0 / 0.9008 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2317, allocations: 0 / 0.9008 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2317, allocations: 0 / 0.9008 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.633e-05/0.2318, allocations: 145.7 kB / 0.901 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2318, allocations: 3.953 kB / 0.901 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.408e-05/0.2318, allocations: 0 / 0.901 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2318, allocations: 8.016 kB / 0.901 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2319, allocations: 7.984 kB / 0.901 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2319, allocations: 0 / 0.901 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2319, allocations: 0 / 0.901 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.032e-05/0.232, allocations: 58.2 kB / 0.901 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.232, allocations: 85.06 kB / 0.9011 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.232, allocations: 3.984 kB / 0.9011 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.232, allocations: 3.938 kB / 0.9011 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.2321, allocations: 4.031 kB / 0.9011 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.2321, allocations: 0 / 0.9011 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.814e-05/0.2321, allocations: 75.28 kB / 0.9012 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2321, allocations: 0 / 0.9012 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000246/0.2324, allocations: 8 kB / 0.9012 GB, free: 62.78 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.000158/0.2325, allocations: 99.25 kB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.592e-05/0.2326, allocations: 8 kB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2326, allocations: 4.062 kB / 0.9013 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.339e-05/0.2327, allocations: 7.922 kB / 0.9013 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000108/0.2328, allocations: 7.938 kB / 0.9013 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.233, allocations: 66.77 kB / 0.9014 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.2331, allocations: 0.6731 MB / 0.9021 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.698e-05/0.2332, allocations: 12.06 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.697e-05/0.2332, allocations: 7.438 kB / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of SimCode: time 7.22e-07/0.2332, allocations: 0 / 0.9021 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of Templates: time 0.00266/0.2359, allocations: 272 kB / 0.9023 GB, free: 61.57 MB / 0.6042 GB