Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Polynominal.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.Utilities.Math.Examples.Polynominal,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_Polynominal",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.116/2.116, allocations: 251 MB / 265.9 MB, free: 11.68 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.001528/0.001528, allocations: 176.3 kB / 325.5 MB, free: 2.875 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.422/2.422, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001167/0.001166, allocations: 94.2 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004951/0.0004954, allocations: 15.22 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2246, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2488/0.4734, allocations: 131.5 MB / 1.027 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004455/0.4739, allocations: 79.94 kB / 1.027 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003584/0.4775, allocations: 0.774 MB / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4776, allocations: 0 / 1.028 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.4776, allocations: 0 / 1.028 GB, free: 12.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004991/0.4781, allocations: 356.9 kB / 1.028 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.4782, allocations: 8.031 kB / 1.028 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.543e-05/0.4782, allocations: 38.55 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.4783, allocations: 7.906 kB / 1.028 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.4784, allocations: 171 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.4785, allocations: 0 / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.4785, allocations: 4 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.4787, allocations: 57.67 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4788, allocations: 4 kB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4788, allocations: 0 / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4788, allocations: 0 / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.4791, allocations: 47.95 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005452/0.4797, allocations: 280.9 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.4799, allocations: 50.48 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.48, allocations: 4 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.48, allocations: 30.56 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.513e-06/0.48, allocations: 4.062 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005898/0.4806, allocations: 101.7 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.4807, allocations: 55.41 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.586e-05/0.4808, allocations: 104.9 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4808, allocations: 25.7 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.4809, allocations: 88.08 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.4809, allocations: 7.891 kB / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.481, allocations: 4 kB / 1.029 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4811, allocations: 318.9 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.4813, allocations: 19.98 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.4814, allocations: 27.97 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.4816, allocations: 24.05 kB / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.4816, allocations: 0 / 1.03 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003666/0.482, allocations: 81.56 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.482, allocations: 13.53 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.482, allocations: 4 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4821, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.4822, allocations: 11.98 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.4822, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.121e-05/0.4823, allocations: 15.92 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.4824, allocations: 3.953 kB / 1.03 GB, free: 10.79 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 (2): * Single equations (assignments): 2 * 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 9.549e-05/0.4825, allocations: 113.8 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.4825, allocations: 4 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.4829, allocations: 89.17 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.483, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.483, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.483, allocations: 7.969 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.4832, allocations: 165.6 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4832, allocations: 0 / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.4833, allocations: 8 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4834, allocations: 0 / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.4834, allocations: 0 / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4834, allocations: 0 / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.4834, allocations: 3.984 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.4839, allocations: 187.3 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.4839, allocations: 81.36 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.484, allocations: 0 / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.4841, allocations: 16.02 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.4842, allocations: 4 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.4842, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.964e-05/0.4842, allocations: 87.27 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4843, allocations: 0 / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002902/0.4846, allocations: 8 kB / 1.031 GB, free: 9.926 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 (2): * Single equations (assignments): 2 * 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.0007665/0.4853, allocations: 0.7171 MB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.4857, allocations: 55.98 kB / 1.031 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.4857, allocations: 4 kB / 1.031 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.4859, allocations: 19.98 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.4861, allocations: 7.875 kB / 1.031 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005412/0.4867, allocations: 166.3 kB / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.487, allocations: 0.6809 MB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.4871, allocations: 0 / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.4871, allocations: 7.438 kB / 1.032 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of SimCode: time 7.01e-07/0.4871, allocations: 0 / 1.032 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.5076, allocations: 1.15 MB / 1.033 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003653/0.508, allocations: 172 kB / 1.034 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/2.814, allocations: 0 / 1.034 GB, free: 6.906 MB / 0.6823 GB