Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.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.Average,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_Average",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.265/2.265, allocations: 248.7 MB / 256.2 MB, free: 7.105 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.00151/0.00151, allocations: 188.5 kB / 315.4 MB, free: 3.984 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.107/2.107, allocations: 205.3 MB / 0.5662 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.001101, allocations: 86.53 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.378e-05, allocations: 8 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1984, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9079/1.106, allocations: 131.9 MB / 1.013 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/1.107, allocations: 66.66 kB / 1.013 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.007196/1.114, allocations: 1.132 MB / 1.014 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.795e-06/1.114, allocations: 2.625 kB / 1.014 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.777e-05/1.114, allocations: 0 / 1.014 GB, free: 5.812 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000884/1.115, allocations: 374 kB / 1.014 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/1.115, allocations: 8.031 kB / 1.014 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.932e-05/1.115, allocations: 11.91 kB / 1.014 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/1.116, allocations: 189.7 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/1.116, allocations: 4 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/1.116, allocations: 3.375 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000225/1.116, allocations: 39.42 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/1.116, allocations: 52.12 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/1.116, allocations: 0 / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/1.116, allocations: 3.984 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/1.116, allocations: 0 / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/1.117, allocations: 308.2 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/1.118, allocations: 41.75 kB / 1.015 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/1.118, allocations: 16.17 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.897e-05/1.118, allocations: 7.438 kB / 1.015 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/1.118, allocations: 30.56 kB / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 3.617e-06/1.118, allocations: 0 / 1.015 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003893/1.118, allocations: 65.38 kB / 1.015 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/1.118, allocations: 51.41 kB / 1.015 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/1.118, allocations: 103.9 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/1.119, allocations: 29.7 kB / 1.015 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/1.119, allocations: 99.28 kB / 1.015 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/1.119, allocations: 7.844 kB / 1.015 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/1.119, allocations: 0 / 1.015 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.119, allocations: 323.5 kB / 1.016 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.576e-05/1.119, allocations: 7.438 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.841e-05/1.119, allocations: 7.188 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/1.119, allocations: 15.3 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.119, allocations: 0 / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002846/1.12, allocations: 63.66 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/1.12, allocations: 5.719 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.12, allocations: 0 / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/1.12, allocations: 3.938 kB / 1.016 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/1.12, allocations: 26.8 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/1.12, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/1.12, allocations: 31.86 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.673e-05/1.12, allocations: 4 kB / 1.016 GB, free: 3.82 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001251/1.121, allocations: 101 kB / 1.016 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003282/1.121, allocations: 55.81 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/1.121, allocations: 3.906 kB / 1.016 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003651/1.121, allocations: 76.67 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/1.121, allocations: 3.953 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.121, allocations: 0 / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/1.122, allocations: 7.984 kB / 1.016 GB, free: 3.566 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/1.122, allocations: 149.7 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/1.122, allocations: 0 / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/1.122, allocations: 23.97 kB / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/1.122, allocations: 0 / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/1.122, allocations: 3.438 kB / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/1.122, allocations: 0 / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.122, allocations: 0 / 1.016 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003973/1.123, allocations: 160.9 kB / 1.016 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/1.123, allocations: 80.61 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/1.123, allocations: 3.984 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/1.123, allocations: 15.98 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/1.123, allocations: 4 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/1.123, allocations: 0 / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001076/1.123, allocations: 100.1 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.92e-07/1.123, allocations: 0 / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005211/1.124, allocations: 15.86 kB / 1.017 GB, free: 2.977 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 (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.0009316/1.125, allocations: 0.6888 MB / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002103/1.125, allocations: 29.19 kB / 1.017 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.125, allocations: 4 kB / 1.017 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/1.125, allocations: 19.23 kB / 1.017 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/1.126, allocations: 7.812 kB / 1.017 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008077/1.127, allocations: 131.9 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/1.127, allocations: 0.6924 MB / 1.018 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001218/1.127, allocations: 11.98 kB / 1.018 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/1.127, allocations: 14.19 kB / 1.018 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of SimCode: time 1.753e-06/1.127, allocations: 3.938 kB / 1.018 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03828/1.166, allocations: 1.126 MB / 1.019 GB, free: 216 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003243/1.166, allocations: 140.4 kB / 1.019 GB, free: 12 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.526, allocations: 0 / 1.019 GB, free: 12 kB / 0.6355 GB