Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Utilities.Examples.ExtendedPolynomialDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Utilities_Examples_ExtendedPolynomialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.23/2.23, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001618/0.001618, allocations: 180.8 kB / 325.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.338/2.338, allocations: 205.4 MB / 0.5764 GB, free: 21.19 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001147, allocations: 97.77 kB / 0.6809 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004802, allocations: 17.03 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2127, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.222/0.4348, allocations: 130.9 MB / 1.027 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.4351, allocations: 79.88 kB / 1.027 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006382/0.4415, allocations: 1.366 MB / 1.028 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4416, allocations: 0 / 1.028 GB, free: 13.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.4416, allocations: 0 / 1.028 GB, free: 13.39 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004243/0.442, allocations: 347.1 kB / 1.028 GB, free: 13 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.4421, allocations: 11.97 kB / 1.028 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.4422, allocations: 34.56 kB / 1.028 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.4422, allocations: 15.86 kB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.4423, allocations: 163.1 kB / 1.029 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4424, allocations: 0 / 1.029 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.4424, allocations: 4 kB / 1.029 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.4425, allocations: 37.69 kB / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.4426, allocations: 0 / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.4426, allocations: 4 kB / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4426, allocations: 0 / 1.029 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.055e-05/0.4427, allocations: 11.98 kB / 1.029 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.4429, allocations: 161.7 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.169e-05/0.443, allocations: 30.5 kB / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.443, allocations: 4.062 kB / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.4431, allocations: 30.56 kB / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.4431, allocations: 0 / 1.029 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0007755/0.4439, allocations: 302.5 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.4439, allocations: 55.41 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.163e-05/0.444, allocations: 101 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.4441, allocations: 25.7 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.4441, allocations: 84.14 kB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.4442, allocations: 23.72 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.4442, allocations: 0 / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4443, allocations: 318.8 kB / 1.03 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.4444, allocations: 20.97 kB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.23e-05/0.4444, allocations: 29.64 kB / 1.03 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.699e-05/0.4445, allocations: 15.98 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4445, allocations: 4 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000168/0.4447, allocations: 61.67 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4447, allocations: 9.875 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4448, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4448, allocations: 8 kB / 1.03 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/0.4449, allocations: 11.98 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.4449, allocations: 320 / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.4449, allocations: 3.938 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.445, allocations: 4 kB / 1.03 GB, free: 11.22 MB / 0.6823 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 0.0001237/0.4451, allocations: 117.8 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.4451, allocations: 3.906 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.4454, allocations: 85.55 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.4454, allocations: 7.984 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4454, allocations: 4.125 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4454, allocations: 0 / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.4456, allocations: 161.6 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4456, allocations: 0 / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.479e-05/0.4457, allocations: 8 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4457, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4457, allocations: 3.984 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.4457, allocations: 4 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4457, allocations: 4 kB / 1.03 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.446, allocations: 113 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.4461, allocations: 81.02 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.4461, allocations: 0 / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.756e-05/0.4462, allocations: 4 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.4462, allocations: 4.031 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.4462, allocations: 4 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.149e-05/0.4463, allocations: 87.2 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4463, allocations: 0 / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003256/0.4466, allocations: 32.06 kB / 1.031 GB, free: 10.41 MB / 0.6823 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.0006322/0.4473, allocations: 0.6631 MB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.4474, allocations: 31.92 kB / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4475, allocations: 0 / 1.031 GB, free: 9.684 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.143e-05/0.4475, allocations: 16.17 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.4476, allocations: 8 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009001/0.4486, allocations: 0.6152 MB / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.4488, allocations: 0.6887 MB / 1.033 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.082e-05/0.4489, allocations: 7.953 kB / 1.033 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.449, allocations: 15.44 kB / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of SimCode: time 7.72e-07/0.449, allocations: 0 / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.4734, allocations: 1.642 MB / 1.034 GB, free: 6.777 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003368/0.4738, allocations: 208.3 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.372/2.846, allocations: 3.5 kB / 1.034 GB, free: 6.531 MB / 0.6823 GB