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.307/2.307, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001547, allocations: 182.2 kB / 325.6 MB, free: 2.84 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.375/2.375, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.00117/0.00117, allocations: 96.23 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005191/0.0005195, allocations: 16.53 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2175, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2284/0.4459, allocations: 133.3 MB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003739/0.4463, allocations: 95.92 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02049/0.4668, allocations: 4.795 MB / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4669, allocations: 0 / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.4669, allocations: 0 / 1.034 GB, free: 7.043 MB / 0.6823 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.0005613/0.4675, allocations: 375.2 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4675, allocations: 11.97 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.4676, allocations: 11.95 kB / 1.034 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.4678, allocations: 163.1 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.4678, allocations: 0 / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.4679, allocations: 0 / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001615/0.468, allocations: 53.61 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.468, allocations: 4 kB / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.4681, allocations: 0 / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.4681, allocations: 0 / 1.034 GB, free: 6.344 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.9e-05/0.4681, allocations: 4 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.4684, allocations: 165.6 kB / 1.035 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.723e-05/0.4685, allocations: 26.59 kB / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.4686, allocations: 4.062 kB / 1.035 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.4686, allocations: 38.5 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.532e-06/0.4686, allocations: 0 / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002179/0.4688, allocations: 49.69 kB / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.4689, allocations: 59.53 kB / 1.035 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.539e-05/0.469, allocations: 92.98 kB / 1.035 GB, free: 5.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.469, allocations: 25.7 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.4691, allocations: 84.14 kB / 1.035 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.4691, allocations: 3.906 kB / 1.035 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.4691, allocations: 0 / 1.035 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4693, allocations: 318.8 kB / 1.035 GB, free: 5.379 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.229e-05/0.4693, allocations: 11.92 kB / 1.035 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.796e-05/0.4694, allocations: 16.06 kB / 1.035 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.4694, allocations: 4 kB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4695, allocations: 0 / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001277/0.4696, allocations: 49.69 kB / 1.035 GB, free: 5.293 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.4696, allocations: 9.25 kB / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.4697, allocations: 3.984 kB / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.4697, allocations: 4 kB / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.4697, allocations: 0 / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.4697, allocations: 0 / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.4697, allocations: 96 / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.4698, allocations: 8 kB / 1.035 GB, free: 5.27 MB / 0.6823 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 () * Number of clocked 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 0.0001103/0.4699, allocations: 109.8 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.605e-05/0.4699, allocations: 7.922 kB / 1.036 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.4702, allocations: 77.5 kB / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4702, allocations: 0 / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4702, allocations: 0 / 1.036 GB, free: 5.062 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4702, allocations: 7.984 kB / 1.036 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.4704, allocations: 153.6 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.4704, allocations: 8.016 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.022e-06/0.4704, allocations: 0 / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.4705, allocations: 0 / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.4705, allocations: 4 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4705, allocations: 0 / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4705, allocations: 0 / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.4706, allocations: 73.02 kB / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.4707, allocations: 77.11 kB / 1.036 GB, free: 4.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.4707, allocations: 4.031 kB / 1.036 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-05/0.4708, allocations: 7.984 kB / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.4709, allocations: 0 / 1.036 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.4709, allocations: 4 kB / 1.036 GB, free: 4.645 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.471, allocations: 83.28 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.471, allocations: 0 / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005123/0.4715, allocations: 71.91 kB / 1.036 GB, free: 4.492 MB / 0.6823 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 () * Number of clocked 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.0009046/0.4724, allocations: 310 kB / 1.036 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001687/0.4726, allocations: 71.39 kB / 1.036 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4726, allocations: 0 / 1.036 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.18e-05/0.4727, allocations: 33.7 kB / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.4728, allocations: 7.938 kB / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009013/0.4737, allocations: 242.8 kB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.4741, allocations: 0.677 MB / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.759e-05/0.4741, allocations: 11.92 kB / 1.037 GB, free: 3.129 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.4742, allocations: 7.438 kB / 1.037 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of SimCode: time 8.22e-07/0.4742, allocations: 0 / 1.037 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of Templates: time 0.006189/0.4804, allocations: 1.682 MB / 1.039 GB, free: 1.477 MB / 0.6823 GB