Running: ./testmodel.py --libraries=/var/lib/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 (/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.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.334/2.334, allocations: 253.2 MB / 260.6 MB, free: 7.391 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.00145/0.00145, allocations: 182.5 kB / 319.9 MB, free: 3.109 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.186/2.186, allocations: 205.6 MB / 0.5708 GB, free: 15.3 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.00112/0.00112, allocations: 93.2 kB / 0.6751 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.657e-05/1.653e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2154, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9187/1.134, allocations: 133.5 MB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/1.135, allocations: 87.19 kB / 1.019 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01997/1.155, allocations: 4.491 MB / 1.024 GB, free: 228 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/1.155, allocations: 0 / 1.024 GB, free: 228 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.085e-06/1.155, allocations: 4 kB / 1.024 GB, free: 224 kB / 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.0005829/1.155, allocations: 369.9 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/1.155, allocations: 16.02 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/1.155, allocations: 11.89 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001853/1.156, allocations: 170.9 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/1.156, allocations: 0 / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/1.156, allocations: 0 / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.507e-05/1.156, allocations: 11.98 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/1.156, allocations: 44.69 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/1.156, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/1.156, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/1.156, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/1.156, allocations: 138.2 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.32e-05/1.156, allocations: 26.17 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/1.156, allocations: 12.91 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/1.156, allocations: 7.938 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/1.156, allocations: 34.56 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/1.156, allocations: 0 / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0002988/1.157, allocations: 53.06 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/1.157, allocations: 51.41 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.598e-05/1.157, allocations: 92.98 kB / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/1.157, allocations: 25.7 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/1.157, allocations: 80.14 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.484e-05/1.157, allocations: 11.62 kB / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/1.157, allocations: 0 / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.157, allocations: 314.8 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/1.157, allocations: 8 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.453e-05/1.157, allocations: 7.984 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.696e-05/1.157, allocations: 11.98 kB / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.157, allocations: 0 / 1.025 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/1.158, allocations: 56.88 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.158, allocations: 8.094 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/1.158, allocations: 4 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.158, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.482e-06/1.158, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.158, allocations: 0.7031 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/1.158, allocations: 7.984 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/1.158, allocations: 0 / 1.025 GB, free: 14.5 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 9.582e-05/1.158, allocations: 108.9 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/1.158, allocations: 7.844 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/1.158, allocations: 76.58 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/1.158, allocations: 3.938 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.158, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/1.158, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/1.158, allocations: 142.1 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/1.158, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.373e-06/1.158, allocations: 3.938 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/1.158, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/1.158, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.158, allocations: 4 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.158, allocations: 4.031 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/1.159, allocations: 69.05 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/1.159, allocations: 81.06 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/1.159, allocations: 0 / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.822e-05/1.159, allocations: 8 kB / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/1.159, allocations: 0 / 1.026 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/1.159, allocations: 7.984 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.925e-05/1.159, allocations: 86.19 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.159, allocations: 0 / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004609/1.159, allocations: 70.09 kB / 1.026 GB, free: 13.76 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.0008802/1.16, allocations: 309 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001682/1.16, allocations: 66.91 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.161, allocations: 0 / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.459e-05/1.161, allocations: 33.69 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/1.161, allocations: 6.031 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008538/1.162, allocations: 198.3 kB / 1.026 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/1.162, allocations: 0.6768 MB / 1.027 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.028e-05/1.162, allocations: 7.984 kB / 1.027 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/1.162, allocations: 11.44 kB / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of SimCode: time 6.51e-07/1.162, allocations: 0 / 1.027 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of Templates: time 0.006021/1.168, allocations: 1.678 MB / 1.029 GB, free: 10.82 MB / 0.6511 GB