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.345/2.345, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001532/0.001532, allocations: 177.4 kB / 325.6 MB, free: 2.84 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.46/2.46, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001172/0.001172, allocations: 99.52 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006141/0.0006144, allocations: 15.88 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2175, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3071/0.5247, allocations: 130.8 MB / 1.027 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003867/0.5252, allocations: 75.95 kB / 1.027 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001864/0.5271, allocations: 488.6 kB / 1.027 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.668e-06/0.5271, allocations: 4 kB / 1.027 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.5271, allocations: 3.938 kB / 1.027 GB, free: 13.96 MB / 0.6823 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.0003656/0.5275, allocations: 315.4 kB / 1.027 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.5276, allocations: 8.031 kB / 1.027 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.5276, allocations: 0 / 1.027 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.5278, allocations: 163 kB / 1.028 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.5278, allocations: 3.938 kB / 1.028 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.5279, allocations: 4 kB / 1.028 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.528, allocations: 25.7 kB / 1.028 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.528, allocations: 4 kB / 1.028 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.528, allocations: 0 / 1.028 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.5281, allocations: 0 / 1.028 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.715e-05/0.5281, allocations: 7.984 kB / 1.028 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/0.5284, allocations: 149.6 kB / 1.028 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.068e-05/0.5285, allocations: 22.55 kB / 1.028 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.5285, allocations: 0 / 1.028 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.5286, allocations: 34.56 kB / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 2.134e-06/0.5286, allocations: 0 / 1.028 GB, free: 13.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001965/0.5288, allocations: 41.75 kB / 1.028 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.5289, allocations: 51.41 kB / 1.028 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.656e-05/0.5289, allocations: 85 kB / 1.028 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.529, allocations: 25.7 kB / 1.028 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.5291, allocations: 80.14 kB / 1.028 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.5291, allocations: 4.188 kB / 1.028 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.5291, allocations: 128 / 1.028 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.5293, allocations: 314.8 kB / 1.028 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.395e-05/0.5294, allocations: 4 kB / 1.028 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.417e-05/0.5294, allocations: 3.938 kB / 1.028 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.678e-05/0.5294, allocations: 0 / 1.028 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.5295, allocations: 3.953 kB / 1.028 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001241/0.5296, allocations: 41.69 kB / 1.028 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.5296, allocations: 4 kB / 1.028 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.5297, allocations: 0 / 1.028 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.5297, allocations: 4.094 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.5298, allocations: 4 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.852e-06/0.5298, allocations: 3.938 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.5299, allocations: 0 / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.5299, allocations: 0 / 1.029 GB, free: 12.38 MB / 0.6823 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 0.0001172/0.53, allocations: 113.8 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.5301, allocations: 3.953 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.5303, allocations: 48.75 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/0.5303, allocations: 4 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5303, allocations: 0 / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5304, allocations: 0 / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.5305, allocations: 149.6 kB / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5306, allocations: 0 / 1.029 GB, free: 12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/0.5306, allocations: 7.953 kB / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.5306, allocations: 0 / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.5307, allocations: 0 / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/0.5307, allocations: 4 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5307, allocations: 4.031 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.5309, allocations: 65.06 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.531, allocations: 77.11 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.531, allocations: 3.953 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.709e-05/0.531, allocations: 3.984 kB / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.5311, allocations: 0 / 1.029 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.5311, allocations: 4 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.821e-05/0.5312, allocations: 79.31 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5312, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004509/0.5316, allocations: 8 kB / 1.029 GB, free: 11.71 MB / 0.6823 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.0002664/0.5319, allocations: 103.2 kB / 1.029 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.006e-05/0.532, allocations: 4 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.532, allocations: 0 / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.039e-05/0.5321, allocations: 4 kB / 1.029 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.5323, allocations: 10.12 kB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.5326, allocations: 82.64 kB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.533, allocations: 0.677 MB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.369e-05/0.5331, allocations: 3.984 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.5331, allocations: 11.44 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/0.5332, allocations: 4 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of Templates: time 0.003627/0.5368, allocations: 272.1 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB