Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.296/2.296, allocations: 248.5 MB / 261.1 MB, free: 6.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001423/0.001422, allocations: 186.1 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.2 MB / 0.5711 GB, free: 11.73 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.001187/0.001186, allocations: 96.89 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.677e-05/4.69e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2213, allocations: 106.2 MB / 0.8907 GB, free: 7.43 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8676/1.089, allocations: 130.7 MB / 1.018 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/1.089, allocations: 78.8 kB / 1.018 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001703/1.091, allocations: 0.5533 MB / 1.019 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/1.091, allocations: 1.125 kB / 1.019 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.781e-06/1.091, allocations: 0 / 1.019 GB, free: 3.645 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000338/1.091, allocations: 353.2 kB / 1.019 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/1.091, allocations: 8.031 kB / 1.019 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.996e-05/1.092, allocations: 34.56 kB / 1.019 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/1.092, allocations: 0 / 1.019 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/1.092, allocations: 170.9 kB / 1.019 GB, free: 3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/1.092, allocations: 4 kB / 1.019 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/1.092, allocations: 4 kB / 1.019 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/1.092, allocations: 60.42 kB / 1.02 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/1.092, allocations: 3.984 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/1.092, allocations: 2.625 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/1.092, allocations: 4 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.959e-05/1.092, allocations: 18.88 kB / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/1.093, allocations: 265.6 kB / 1.02 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.763e-05/1.093, allocations: 18.58 kB / 1.02 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.201e-05/1.093, allocations: 8.922 kB / 1.02 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-06/1.093, allocations: 3.938 kB / 1.02 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/1.093, allocations: 34.52 kB / 1.02 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.873e-06/1.093, allocations: 0 / 1.02 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001825/1.093, allocations: 71.25 kB / 1.02 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/1.093, allocations: 85.14 kB / 1.02 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/1.093, allocations: 108.9 kB / 1.02 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/1.093, allocations: 29.7 kB / 1.02 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/1.093, allocations: 99.73 kB / 1.02 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/1.093, allocations: 7.984 kB / 1.02 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/1.093, allocations: 0 / 1.02 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.093, allocations: 314.4 kB / 1.021 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.768e-05/1.093, allocations: 8 kB / 1.021 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.142e-05/1.093, allocations: 65.8 kB / 1.021 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.663e-05/1.094, allocations: 51.61 kB / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/1.094, allocations: 0 / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002183/1.094, allocations: 114.9 kB / 1.021 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/1.094, allocations: 33.7 kB / 1.021 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/1.094, allocations: 0 / 1.021 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.094, allocations: 11.89 kB / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/1.094, allocations: 16.23 kB / 1.021 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/1.094, allocations: 4 kB / 1.021 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.212e-05/1.094, allocations: 15.78 kB / 1.021 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/1.094, allocations: 7.188 kB / 1.021 GB, free: 1.434 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 8.963e-05/1.094, allocations: 130.7 kB / 1.021 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/1.094, allocations: 4 kB / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.346e-05/1.094, allocations: 11.3 kB / 1.021 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.094, allocations: 3.953 kB / 1.021 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.094, allocations: 2.562 kB / 1.021 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.094, allocations: 4 kB / 1.021 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/1.095, allocations: 157.7 kB / 1.021 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.095, allocations: 0 / 1.021 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/1.095, allocations: 3.938 kB / 1.021 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/1.095, allocations: 3.984 kB / 1.021 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/1.095, allocations: 0 / 1.021 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.095, allocations: 0 / 1.021 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.095, allocations: 3.953 kB / 1.021 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/1.095, allocations: 168.7 kB / 1.021 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/1.095, allocations: 85.09 kB / 1.021 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/1.095, allocations: 0 / 1.021 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/1.095, allocations: 3.75 kB / 1.021 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/1.095, allocations: 0 / 1.021 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/1.095, allocations: 7.953 kB / 1.021 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.617e-05/1.095, allocations: 87.27 kB / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.61e-07/1.095, allocations: 0 / 1.022 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003107/1.096, allocations: 11.25 kB / 1.022 GB, free: 0.6719 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006132/1.096, allocations: 0.7017 MB / 1.022 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001833/1.096, allocations: 78.97 kB / 1.022 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.096, allocations: 0.5312 kB / 1.022 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.961e-05/1.096, allocations: 66.83 kB / 1.022 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/1.097, allocations: 4 kB / 1.022 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004072/1.097, allocations: 106 kB / 1.022 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/1.097, allocations: 0.6809 MB / 1.023 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.745e-05/1.097, allocations: 12.17 kB / 1.023 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.869e-05/1.097, allocations: 14.69 kB / 1.023 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of SimCode: time 9.52e-07/1.097, allocations: 4.062 kB / 1.023 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/1.116, allocations: 1.216 MB / 1.024 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003125/1.116, allocations: 176.5 kB / 1.024 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/3.544, allocations: 2.344 kB / 1.025 GB, free: 13.61 MB / 0.6511 GB