Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.368/2.368, allocations: 253.2 MB / 260.6 MB, free: 7.492 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 178.6 kB / 319.9 MB, free: 3.074 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.141/2.141, allocations: 205.6 MB / 0.5708 GB, free: 15.28 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 94.08 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.586e-05/1.587e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2237, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.926/1.15, allocations: 133.2 MB / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/1.15, allocations: 91.12 kB / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01858/1.169, allocations: 4.341 MB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.483e-06/1.169, allocations: 0 / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.093e-06/1.169, allocations: 4 kB / 1.023 GB, free: 0.6953 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.0004653/1.169, allocations: 373.2 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/1.169, allocations: 12.02 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/1.169, allocations: 7.953 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/1.17, allocations: 159.1 kB / 1.024 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/1.17, allocations: 0 / 1.024 GB, free: 76 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/1.17, allocations: 3.938 kB / 1.024 GB, free: 72 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.061e-05/1.17, allocations: 15.92 kB / 1.024 GB, free: 56 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/1.17, allocations: 44.62 kB / 1.024 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/1.17, allocations: 0 / 1.024 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/1.17, allocations: 0 / 1.024 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/1.17, allocations: 3.938 kB / 1.024 GB, free: 4 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/1.17, allocations: 137.4 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.159e-05/1.17, allocations: 26.61 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.296e-05/1.17, allocations: 12.91 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/1.17, allocations: 4 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/1.17, allocations: 38.06 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/1.17, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0002371/1.171, allocations: 53.62 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/1.171, allocations: 51.41 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.919e-05/1.171, allocations: 92.73 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/1.171, allocations: 29.7 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/1.171, allocations: 80.3 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/1.171, allocations: 7.906 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/1.171, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.171, allocations: 314.8 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.745e-05/1.171, allocations: 4 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.741e-05/1.171, allocations: 15.36 kB / 1.025 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.86e-05/1.171, allocations: 8 kB / 1.025 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.171, allocations: 0 / 1.025 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001714/1.171, allocations: 53.67 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.171, allocations: 9.344 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/1.171, allocations: 7.938 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/1.171, allocations: 0 / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.353e-06/1.171, allocations: 0 / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/1.171, allocations: 3.984 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/1.171, allocations: 0 / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/1.172, allocations: 7.984 kB / 1.025 GB, free: 14.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.57e-05/1.172, allocations: 104.9 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/1.172, allocations: 7.906 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/1.172, allocations: 77.45 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/1.172, allocations: 0 / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.172, allocations: 0 / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/1.172, allocations: 0 / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/1.172, allocations: 134.2 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/1.172, allocations: 4 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-06/1.172, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.172, allocations: 3.938 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/1.172, allocations: 3.938 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.172, allocations: 4 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.172, allocations: 7.969 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/1.172, allocations: 68.69 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/1.172, allocations: 85.05 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/1.172, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/1.173, allocations: 4 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/1.173, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/1.173, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.574e-05/1.173, allocations: 90.86 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.173, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004614/1.173, allocations: 79.53 kB / 1.025 GB, free: 14.24 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.0008359/1.174, allocations: 297.7 kB / 1.026 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001273/1.174, allocations: 63.41 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.174, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.658e-05/1.174, allocations: 37.62 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001367/1.174, allocations: 2.812 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007966/1.175, allocations: 186.5 kB / 1.026 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/1.175, allocations: 0.6845 MB / 1.026 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.775e-05/1.176, allocations: 8 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/1.176, allocations: 7.438 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/1.176, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of Templates: time 0.005858/1.181, allocations: 1.671 MB / 1.028 GB, free: 11.31 MB / 0.6511 GB