Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_IO_Python36_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.204/2.204, allocations: 248.7 MB / 256.2 MB, free: 7 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.001473/0.001473, allocations: 183 kB / 315.4 MB, free: 3.969 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.089/2.089, allocations: 205.3 MB / 0.5662 GB, free: 0.5898 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.001146/0.001145, allocations: 86.47 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.476e-05/2.509e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1932, allocations: 106.2 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8795/1.073, allocations: 133.2 MB / 1.014 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/1.073, allocations: 86.38 kB / 1.014 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01875/1.092, allocations: 4.361 MB / 1.019 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.242e-06/1.092, allocations: 3.938 kB / 1.019 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.545e-06/1.092, allocations: 0 / 1.019 GB, free: 2.312 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.0005237/1.093, allocations: 374.3 kB / 1.019 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/1.093, allocations: 12.03 kB / 1.019 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/1.093, allocations: 3.953 kB / 1.019 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/1.093, allocations: 159.1 kB / 1.019 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/1.093, allocations: 0 / 1.019 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/1.093, allocations: 4 kB / 1.019 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.926e-05/1.093, allocations: 7.984 kB / 1.019 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.852e-05/1.093, allocations: 41.62 kB / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.093, allocations: 3.938 kB / 1.019 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/1.093, allocations: 4 kB / 1.019 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.093, allocations: 3.938 kB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002129/1.093, allocations: 142 kB / 1.019 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.822e-05/1.093, allocations: 22.61 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.306e-05/1.093, allocations: 12.61 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/1.094, allocations: 7.984 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/1.094, allocations: 30.56 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.853e-06/1.094, allocations: 4 kB / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002524/1.094, allocations: 53.62 kB / 1.019 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/1.094, allocations: 51.41 kB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/1.094, allocations: 92.94 kB / 1.02 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/1.094, allocations: 25.7 kB / 1.02 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.446e-05/1.094, allocations: 80.14 kB / 1.02 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/1.094, allocations: 7.891 kB / 1.02 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-06/1.094, allocations: 160 / 1.02 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.094, allocations: 322.8 kB / 1.02 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/1.094, allocations: 4 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.292e-05/1.094, allocations: 7.812 kB / 1.02 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.878e-05/1.094, allocations: 11.98 kB / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.094, allocations: 0 / 1.02 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001604/1.095, allocations: 53.67 kB / 1.02 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.095, allocations: 8 kB / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/1.095, allocations: 0 / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/1.095, allocations: 4.094 kB / 1.02 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.933e-06/1.095, allocations: 7.938 kB / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/1.095, allocations: 0 / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/1.095, allocations: 0 / 1.02 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/1.095, allocations: 3.984 kB / 1.02 GB, free: 0.5977 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 (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 9.071e-05/1.095, allocations: 111.2 kB / 1.02 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001587/1.095, allocations: 61.27 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/1.095, allocations: 0 / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/1.095, allocations: 70.25 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/1.095, allocations: 3.938 kB / 1.02 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/1.095, allocations: 8 kB / 1.02 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.095, allocations: 0 / 1.02 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/1.096, allocations: 134.2 kB / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/1.096, allocations: 0 / 1.02 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.202e-06/1.096, allocations: 3.938 kB / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.096, allocations: 0 / 1.02 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/1.096, allocations: 4 kB / 1.02 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.096, allocations: 3.984 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.096, allocations: 3.938 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/1.096, allocations: 72.86 kB / 1.02 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.922e-05/1.096, allocations: 85.09 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/1.096, allocations: 0 / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.351e-05/1.096, allocations: 0 / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/1.096, allocations: 3.984 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/1.096, allocations: 4 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.678e-05/1.096, allocations: 87.25 kB / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/1.096, allocations: 0 / 1.021 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004479/1.097, allocations: 75.66 kB / 1.021 GB, free: 15.8 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.001252/1.098, allocations: 0.8028 MB / 1.022 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001622/1.098, allocations: 71.39 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.098, allocations: 3.938 kB / 1.022 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.983e-05/1.098, allocations: 33.64 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/1.098, allocations: 4.125 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/1.099, allocations: 265.2 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/1.1, allocations: 0.6807 MB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.054e-05/1.1, allocations: 7.938 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/1.1, allocations: 7.438 kB / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of SimCode: time 9.42e-07/1.1, allocations: 0 / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04388/1.144, allocations: 2.052 MB / 1.025 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003543/1.144, allocations: 232.3 kB / 1.025 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.342/3.486, allocations: 4.031 kB / 1.025 GB, free: 11.57 MB / 0.6511 GB