Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.444/2.444, allocations: 287.9 MB / 302.9 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 183.3 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001015, allocations: 95.8 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005442/0.0005445, allocations: 19.27 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.154, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck): time 0.0005491/0.1546, allocations: 260.4 kB / 0.979 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004127/0.155, allocations: 173.3 kB / 0.9792 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.155, allocations: 0 / 0.9792 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.1551, allocations: 0 / 0.9792 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.572e-05/0.1551, allocations: 7.938 kB / 0.9792 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1554, allocations: 47.86 kB / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.524e-05/0.1555, allocations: 3.984 kB / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.397e-05/0.1555, allocations: 4 kB / 0.9792 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.848e-05/0.1555, allocations: 7.984 kB / 0.9792 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.023e-05/0.1556, allocations: 11.94 kB / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.1556, allocations: 0 / 0.9792 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.1558, allocations: 107.8 kB / 0.9793 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.1558, allocations: 7.984 kB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.66e-05/0.1559, allocations: 29.7 kB / 0.9794 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.955e-05/0.156, allocations: 39.92 kB / 0.9794 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.233e-06/0.156, allocations: 3.938 kB / 0.9794 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.018e-06/0.156, allocations: 3.938 kB / 0.9794 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.601e-06/0.156, allocations: 3.938 kB / 0.9794 GB, free: 27.48 MB / 0.6198 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.0002369/0.1563, allocations: 339.5 kB / 0.9798 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1563, allocations: 16.03 kB / 0.9798 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.1563, allocations: 0 / 0.9798 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.673e-05/0.1564, allocations: 174.9 kB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1564, allocations: 0 / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.1565, allocations: 4 kB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.894e-05/0.1566, allocations: 37.69 kB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.569e-06/0.1566, allocations: 0 / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-06/0.1566, allocations: 0 / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.222e-06/0.1566, allocations: 0 / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.688e-05/0.1567, allocations: 12 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.1568, allocations: 169.5 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.662e-05/0.1569, allocations: 26.61 kB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.1569, allocations: 4.062 kB / 0.9802 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.1569, allocations: 30.56 kB / 0.9802 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.993e-06/0.1569, allocations: 4 kB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004943/0.1574, allocations: 294.3 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.1575, allocations: 55.41 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.567e-05/0.1576, allocations: 113.8 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.411e-06/0.1576, allocations: 25.7 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.1576, allocations: 84.12 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.1576, allocations: 15.84 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-06/0.1577, allocations: 0 / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.872e-05/0.1577, allocations: 315.1 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.1578, allocations: 15.98 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.293e-05/0.1578, allocations: 25.66 kB / 0.9811 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.1579, allocations: 23.94 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-06/0.1579, allocations: 0 / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001126/0.158, allocations: 65.59 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.158, allocations: 4 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.158, allocations: 11.94 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.158, allocations: 0 / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.193e-05/0.1581, allocations: 11.98 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1581, allocations: 0 / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.1582, allocations: 0 / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1582, allocations: 4 kB / 0.9812 GB, free: 25.38 MB / 0.6198 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 5.839e-05/0.1582, allocations: 117.8 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.1583, allocations: 0 / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.1584, allocations: 69.58 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.872e-06/0.1584, allocations: 7.938 kB / 0.9814 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1584, allocations: 4 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.641e-06/0.1585, allocations: 3.938 kB / 0.9814 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.1586, allocations: 165.7 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.889e-06/0.1586, allocations: 4.141 kB / 0.9816 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.1587, allocations: 4 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.178e-06/0.1587, allocations: 0 / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.989e-06/0.1587, allocations: 3.984 kB / 0.9816 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.328e-06/0.1587, allocations: 4 kB / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1587, allocations: 0 / 0.9816 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.1589, allocations: 109 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.264e-05/0.1589, allocations: 85.09 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.1589, allocations: 0 / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.762e-05/0.159, allocations: 4 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.159, allocations: 0 / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.159, allocations: 4 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.566e-05/0.1591, allocations: 87.2 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.61e-07/0.1591, allocations: 4.062 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002817/0.1594, allocations: 24 kB / 0.9819 GB, free: 24.59 MB / 0.6198 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.0001625/0.1596, allocations: 111.2 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.727e-05/0.1597, allocations: 27.98 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.763e-06/0.1597, allocations: 0 / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-05/0.1597, allocations: 19.92 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/0.1599, allocations: 6.062 kB / 0.9821 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002326/0.1601, allocations: 144.8 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.1602, allocations: 0.6809 MB / 0.9829 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.189e-05/0.1603, allocations: 7.984 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.598e-05/0.1603, allocations: 7.438 kB / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of SimCode: time 1.235e-06/0.1603, allocations: 0 / 0.9829 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.003356/0.1637, allocations: 0.86 MB / 0.9837 GB, free: 22.66 MB / 0.6198 GB