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.243/2.243, allocations: 252.6 MB / 265.2 MB, free: 5.691 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.001495/0.001495, allocations: 178.7 kB / 324.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.261/2.261, allocations: 205.4 MB / 0.5754 GB, free: 10.43 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.001108/0.001108, allocations: 89.7 kB / 0.6797 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.682e-05, allocations: 4 kB / 0.7911 GB, free: 96.55 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1867, allocations: 106.2 MB / 0.8949 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7947/0.9815, allocations: 133 MB / 1.025 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.9819, allocations: 87.25 kB / 1.025 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01881/1.001, allocations: 4.443 MB / 1.029 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.783e-06/1.001, allocations: 0 / 1.029 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.093e-06/1.001, allocations: 0 / 1.029 GB, free: 13.98 MB / 0.6511 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.000458/1.001, allocations: 373.7 kB / 1.03 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.001, allocations: 8.031 kB / 1.03 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/1.001, allocations: 11.89 kB / 1.03 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/1.002, allocations: 159.1 kB / 1.03 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/1.002, allocations: 8.312 kB / 1.03 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/1.002, allocations: 4 kB / 1.03 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/1.002, allocations: 41.69 kB / 1.03 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.002, allocations: 0 / 1.03 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/1.002, allocations: 7.922 kB / 1.03 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/1.002, allocations: 0 / 1.03 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.589e-05/1.002, allocations: 4 kB / 1.03 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/1.002, allocations: 161.1 kB / 1.03 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.746e-05/1.002, allocations: 38.17 kB / 1.03 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.655e-05/1.002, allocations: 12.91 kB / 1.03 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/1.002, allocations: 0 / 1.03 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/1.002, allocations: 34.56 kB / 1.03 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/1.002, allocations: 0 / 1.03 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.000177/1.003, allocations: 48.88 kB / 1.03 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/1.003, allocations: 51.41 kB / 1.03 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/1.003, allocations: 93.03 kB / 1.03 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/1.003, allocations: 29.02 kB / 1.03 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.746e-05/1.003, allocations: 80.14 kB / 1.03 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/1.003, allocations: 7.891 kB / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/1.003, allocations: 0 / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.003, allocations: 318.8 kB / 1.031 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-05/1.003, allocations: 10.94 kB / 1.031 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/1.003, allocations: 4 kB / 1.031 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.363e-05/1.003, allocations: 16.17 kB / 1.031 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.003, allocations: 0 / 1.031 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000127/1.003, allocations: 52.75 kB / 1.031 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.003, allocations: 5.406 kB / 1.031 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/1.003, allocations: 4 kB / 1.031 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/1.003, allocations: 0 / 1.031 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/1.003, allocations: 0 / 1.031 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/1.003, allocations: 0 / 1.031 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.423e-05/1.003, allocations: 0 / 1.031 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/1.003, allocations: 7.984 kB / 1.031 GB, free: 12.23 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.093e-05/1.004, allocations: 109 kB / 1.031 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/1.004, allocations: 7.906 kB / 1.031 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/1.004, allocations: 72.34 kB / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/1.004, allocations: 0 / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/1.004, allocations: 0 / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/1.004, allocations: 0 / 1.031 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/1.004, allocations: 153.6 kB / 1.031 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.004, allocations: 11.88 kB / 1.031 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-06/1.004, allocations: 4.031 kB / 1.031 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.944e-06/1.004, allocations: 3.984 kB / 1.031 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/1.004, allocations: 0 / 1.031 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.004, allocations: 0 / 1.031 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.004, allocations: 0 / 1.031 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/1.004, allocations: 72.52 kB / 1.031 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/1.004, allocations: 85.09 kB / 1.031 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/1.004, allocations: 0 / 1.031 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/1.004, allocations: 6.156 kB / 1.031 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/1.004, allocations: 4 kB / 1.031 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/1.004, allocations: 0 / 1.031 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.277e-05/1.005, allocations: 86.64 kB / 1.031 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.005, allocations: 0 / 1.031 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004642/1.005, allocations: 79.28 kB / 1.031 GB, free: 11.47 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.0008908/1.006, allocations: 293.7 kB / 1.032 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001732/1.006, allocations: 82.77 kB / 1.032 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.006, allocations: 0 / 1.032 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.738e-05/1.006, allocations: 33.69 kB / 1.032 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/1.006, allocations: 8.516 kB / 1.032 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008507/1.007, allocations: 186.1 kB / 1.032 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/1.007, allocations: 0.677 MB / 1.033 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.558e-05/1.008, allocations: 4 kB / 1.033 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/1.008, allocations: 7.438 kB / 1.033 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.804e-06/1.008, allocations: 3.938 kB / 1.033 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of Templates: time 0.006337/1.014, allocations: 1.667 MB / 1.034 GB, free: 8.551 MB / 0.6511 GB