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.14/2.14, 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.001621/0.001621, allocations: 186.7 kB / 325.5 MB, free: 2.898 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.471/2.471, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001606/0.001606, allocations: 100.6 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008453/0.0008457, allocations: 11.72 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2196, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2343/0.454, allocations: 130.7 MB / 1.027 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.4543, allocations: 75.95 kB / 1.027 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001773/0.4561, allocations: 0.563 MB / 1.027 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4562, allocations: 0 / 1.027 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.4562, allocations: 0 / 1.027 GB, free: 13.9 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003543/0.4565, allocations: 361 kB / 1.027 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.4566, allocations: 8.031 kB / 1.027 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.4567, allocations: 34.56 kB / 1.028 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.4567, allocations: 0 / 1.028 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.4568, allocations: 167 kB / 1.028 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.4569, allocations: 4 kB / 1.028 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.4569, allocations: 3.938 kB / 1.028 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.4571, allocations: 57.61 kB / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.4571, allocations: 0 / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4571, allocations: 0 / 1.028 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.4572, allocations: 16 kB / 1.028 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.08e-05/0.4572, allocations: 15.98 kB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.4576, allocations: 260.8 kB / 1.028 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.861e-05/0.4577, allocations: 26.52 kB / 1.028 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-06/0.4577, allocations: 0 / 1.028 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.4578, allocations: 34.62 kB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.4578, allocations: 4 kB / 1.028 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001952/0.458, allocations: 67.34 kB / 1.028 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.458, allocations: 77.11 kB / 1.028 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.4582, allocations: 105 kB / 1.028 GB, free: 12.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.4582, allocations: 29.7 kB / 1.028 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.4583, allocations: 111.7 kB / 1.028 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.4583, allocations: 3.984 kB / 1.028 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.619e-06/0.4583, allocations: 4 kB / 1.028 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001802/0.4585, allocations: 319 kB / 1.029 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.092e-05/0.4586, allocations: 7.984 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.583e-05/0.4587, allocations: 58.86 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.12e-05/0.4588, allocations: 45.7 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4588, allocations: 0 / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002336/0.459, allocations: 123.1 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.4591, allocations: 33.69 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.4591, allocations: 4.25 kB / 1.029 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4591, allocations: 11.95 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.4592, allocations: 11.94 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.4593, allocations: 4 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.553e-05/0.4594, allocations: 12.7 kB / 1.029 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.4594, allocations: 4 kB / 1.029 GB, free: 11.63 MB / 0.6823 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 () * Number of clocked 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 0.0001327/0.4595, allocations: 149.4 kB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.4596, allocations: 0 / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.222e-05/0.4596, allocations: 7.531 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4596, allocations: 4 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4596, allocations: 3.953 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.4596, allocations: 0 / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.4598, allocations: 153.7 kB / 1.029 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4599, allocations: 0 / 1.029 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.4599, allocations: 0 / 1.029 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4599, allocations: 4 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.4599, allocations: 4 kB / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4599, allocations: 0 / 1.029 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.4599, allocations: 11.86 kB / 1.029 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.4601, allocations: 169.1 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.4602, allocations: 77.11 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4602, allocations: 3.984 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.4603, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.912e-05/0.4603, allocations: 4 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.4603, allocations: 0 / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.597e-05/0.4604, allocations: 95.22 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4604, allocations: 4.031 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000321/0.4607, allocations: 16 kB / 1.03 GB, free: 10.84 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): 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.0005333/0.4613, allocations: 0.6946 MB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.4615, allocations: 87.73 kB / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.4615, allocations: 0 / 1.03 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.909e-05/0.4616, allocations: 63.34 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.4617, allocations: 4 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.4622, allocations: 144.3 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.4625, allocations: 0.6809 MB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.841e-05/0.4626, allocations: 16.34 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.4627, allocations: 11.44 kB / 1.031 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/0.4627, allocations: 3.938 kB / 1.031 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.4868, allocations: 1.208 MB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002867/0.4871, allocations: 200.3 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/2.864, allocations: 0 / 1.033 GB, free: 7.73 MB / 0.6823 GB