Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.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.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_7_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject",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.297/2.297, allocations: 248.7 MB / 256.2 MB, free: 7.012 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.002684/0.002684, allocations: 181.1 kB / 315.4 MB, free: 4.02 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.168/2.168, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 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.001092/0.001092, allocations: 84.69 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.415e-05, allocations: 0 / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2109, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8901/1.101, allocations: 133.5 MB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003524/1.101, allocations: 90.48 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01946/1.121, allocations: 4.514 MB / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/1.121, allocations: 0 / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.121, allocations: 0 / 1.019 GB, free: 1.688 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005373/1.122, allocations: 374 kB / 1.019 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/1.122, allocations: 8.031 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.828e-05/1.122, allocations: 11.88 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/1.122, allocations: 163 kB / 1.02 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/1.122, allocations: 4 kB / 1.02 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/1.122, allocations: 0 / 1.02 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.166e-05/1.122, allocations: 4 kB / 1.02 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/1.122, allocations: 37.69 kB / 1.02 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.122, allocations: 0 / 1.02 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/1.122, allocations: 7.984 kB / 1.02 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/1.122, allocations: 4 kB / 1.02 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/1.122, allocations: 133.7 kB / 1.02 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.927e-05/1.123, allocations: 30.34 kB / 1.02 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.594e-05/1.123, allocations: 16.86 kB / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/1.123, allocations: 0 / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/1.123, allocations: 38.56 kB / 1.02 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/1.123, allocations: 4 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002609/1.123, allocations: 49.67 kB / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/1.123, allocations: 54.91 kB / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.217e-05/1.123, allocations: 89 kB / 1.02 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/1.123, allocations: 25.7 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/1.123, allocations: 80.14 kB / 1.02 GB, free: 416 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/1.123, allocations: 7.906 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/1.123, allocations: 160 / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.123, allocations: 326.1 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.571e-05/1.123, allocations: 4 kB / 1.02 GB, free: 72 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.245e-05/1.123, allocations: 4 kB / 1.02 GB, free: 68 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.697e-05/1.124, allocations: 19.92 kB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.124, allocations: 0 / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001818/1.124, allocations: 57.05 kB / 1.02 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.124, allocations: 7.938 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/1.124, allocations: 4 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/1.124, allocations: 4.094 kB / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/1.124, allocations: 0 / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/1.124, allocations: 0 / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/1.124, allocations: 0 / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/1.124, allocations: 4 kB / 1.021 GB, free: 15.97 MB / 0.6511 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 (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.573e-05/1.124, allocations: 104.9 kB / 1.021 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001512/1.124, allocations: 61.52 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/1.124, allocations: 3.938 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000221/1.124, allocations: 74.06 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.124, allocations: 0 / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/1.124, allocations: 0 / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/1.124, allocations: 0 / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/1.125, allocations: 141.8 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/1.125, allocations: 0 / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-06/1.125, allocations: 4 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.125, allocations: 0 / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/1.125, allocations: 0 / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.125, allocations: 0 / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.125, allocations: 0 / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/1.125, allocations: 80.47 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.209e-05/1.125, allocations: 81.11 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/1.125, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.532e-05/1.125, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/1.125, allocations: 4 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/1.125, allocations: 3.984 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.693e-05/1.125, allocations: 86.77 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.125, allocations: 4.031 kB / 1.021 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004919/1.126, allocations: 79.59 kB / 1.021 GB, free: 15.18 MB / 0.6511 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: 0 * Record equations: 1 * 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.001302/1.127, allocations: 0.8093 MB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001509/1.127, allocations: 67.39 kB / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.127, allocations: 0 / 1.022 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/1.127, allocations: 29.7 kB / 1.022 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/1.127, allocations: 11.56 kB / 1.022 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/1.129, allocations: 263.6 kB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/1.129, allocations: 0.6768 MB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.761e-05/1.129, allocations: 8 kB / 1.023 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/1.129, allocations: 7.438 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/1.129, allocations: 0 / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04189/1.171, allocations: 2.083 MB / 1.025 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003629/1.171, allocations: 242.9 kB / 1.025 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.655, allocations: 2.25 kB / 1.025 GB, free: 10.92 MB / 0.6511 GB