Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.845/4.845, allocations: 0.5623 GB / 0.5775 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002604/0.002604, allocations: 357.3 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.262/4.262, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00259/0.00259, allocations: 184.4 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.000477, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2207, allocations: 115.3 MB / 1.461 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0006948/0.2215, allocations: 321.8 kB / 1.462 GB, free: 6.254 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001797/0.2217, allocations: 29.62 kB / 1.462 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.035e-05/0.2217, allocations: 0 / 1.462 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.366e-05/0.2217, allocations: 0 / 1.462 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.626e-06/0.2217, allocations: 0 / 1.462 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.222, allocations: 15.92 kB / 1.462 GB, free: 6.211 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.648e-05/0.222, allocations: 4 kB / 1.462 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.2221, allocations: 0 / 1.462 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.2221, allocations: 0 / 1.462 GB, free: 6.207 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.2222, allocations: 8 kB / 1.462 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.408e-06/0.2222, allocations: 0 / 1.462 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.2223, allocations: 11.98 kB / 1.462 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.206e-06/0.2223, allocations: 7.984 kB / 1.462 GB, free: 6.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.2223, allocations: 25.7 kB / 1.462 GB, free: 6.148 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.031e-05/0.2224, allocations: 7.984 kB / 1.462 GB, free: 6.141 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2224, allocations: 0 / 1.462 GB, free: 6.141 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2224, allocations: 3.938 kB / 1.462 GB, free: 6.137 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2224, allocations: 0 / 1.462 GB, free: 6.137 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.0002214/0.2227, allocations: 319.4 kB / 1.462 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2227, allocations: 15.97 kB / 1.462 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.484e-05/0.2227, allocations: 3.938 kB / 1.462 GB, free: 5.758 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.023e-05/0.2228, allocations: 163 kB / 1.462 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.2228, allocations: 0 / 1.462 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.2229, allocations: 4 kB / 1.462 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.223, allocations: 29.69 kB / 1.462 GB, free: 5.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.223, allocations: 0 / 1.462 GB, free: 5.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.223, allocations: 0 / 1.462 GB, free: 5.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.223, allocations: 3.984 kB / 1.462 GB, free: 5.516 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.223, allocations: 4 kB / 1.462 GB, free: 5.512 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001051/0.2232, allocations: 153.6 kB / 1.462 GB, free: 5.312 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.215e-05/0.2232, allocations: 18.61 kB / 1.462 GB, free: 5.285 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.881e-05/0.2232, allocations: 8.859 kB / 1.462 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.2233, allocations: 3.984 kB / 1.462 GB, free: 5.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.2233, allocations: 30.56 kB / 1.463 GB, free: 5.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.2233, allocations: 4 kB / 1.463 GB, free: 5.227 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001181/0.2234, allocations: 33.7 kB / 1.463 GB, free: 5.188 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.2235, allocations: 55.34 kB / 1.463 GB, free: 5.121 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.131e-05/0.2235, allocations: 93.86 kB / 1.463 GB, free: 5.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.2235, allocations: 25.7 kB / 1.463 GB, free: 4.988 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.545e-05/0.2236, allocations: 80.14 kB / 1.463 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.2236, allocations: 3.906 kB / 1.463 GB, free: 4.902 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.2236, allocations: 0 / 1.463 GB, free: 4.902 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.2237, allocations: 318.8 kB / 1.463 GB, free: 4.582 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.2237, allocations: 4.125 kB / 1.463 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.386e-06/0.2237, allocations: 0 / 1.463 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.915e-05/0.2237, allocations: 4 kB / 1.463 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2237, allocations: 0 / 1.463 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.918e-05/0.2238, allocations: 33.66 kB / 1.463 GB, free: 4.535 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.2238, allocations: 4 kB / 1.463 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.2238, allocations: 4 kB / 1.463 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2239, allocations: 0 / 1.463 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.2239, allocations: 0 / 1.463 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2239, allocations: 8.078 kB / 1.463 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.224, allocations: 4 kB / 1.463 GB, free: 4.516 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.224, allocations: 7.938 kB / 1.463 GB, free: 4.508 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.312e-05/0.2241, allocations: 105.8 kB / 1.463 GB, free: 4.395 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-06/0.2241, allocations: 7.891 kB / 1.463 GB, free: 4.387 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.2242, allocations: 40.81 kB / 1.463 GB, free: 4.344 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2242, allocations: 7.969 kB / 1.463 GB, free: 4.336 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2242, allocations: 0 / 1.463 GB, free: 4.336 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.963e-05/0.2243, allocations: 77.11 kB / 1.463 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.2243, allocations: 4 kB / 1.463 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.503e-05/0.2243, allocations: 0 / 1.463 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.2243, allocations: 4 kB / 1.463 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.344e-05/0.2244, allocations: 112.9 kB / 1.463 GB, free: 4.117 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.638e-05/0.2245, allocations: 206.8 kB / 1.464 GB, free: 3.898 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.943e-05/0.2245, allocations: 4 kB / 1.464 GB, free: 3.895 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.523e-05/0.2245, allocations: 75.28 kB / 1.464 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of Backend: time 9.32e-07/0.2246, allocations: 0 / 1.464 GB, free: 3.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.225, allocations: 84.73 kB / 1.464 GB, free: 3.734 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002449/0.2252, allocations: 0.5313 MB / 1.464 GB, free: 3.156 MB / 0.6042 GB Notification: Performance of Templates: time 0.002659/0.2279, allocations: 325.1 kB / 1.465 GB, free: 2.84 MB / 0.6042 GB