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.257/2.257, allocations: 252.6 MB / 265.2 MB, free: 5.746 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: 173.3 kB / 324.5 MB, free: 14.4 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.004/2.004, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.001119/0.001119, allocations: 90.64 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.798e-05/3.81e-05, allocations: 7.984 kB / 0.7912 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.206, allocations: 106.2 MB / 0.8949 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8486/1.055, allocations: 133.2 MB / 1.025 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004479/1.055, allocations: 98.11 kB / 1.025 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03/1.085, allocations: 4.6 MB / 1.03 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.473e-06/1.085, allocations: 0 / 1.03 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.415e-06/1.085, allocations: 0 / 1.03 GB, free: 13.6 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.0005114/1.086, allocations: 373.6 kB / 1.03 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/1.086, allocations: 8.031 kB / 1.03 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/1.086, allocations: 11.89 kB / 1.03 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/1.086, allocations: 170.6 kB / 1.03 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/1.086, allocations: 0 / 1.03 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/1.086, allocations: 0 / 1.03 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001464/1.086, allocations: 37.69 kB / 1.03 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/1.086, allocations: 0 / 1.03 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/1.086, allocations: 4 kB / 1.03 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.086, allocations: 0 / 1.03 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.962e-05/1.086, allocations: 11.75 kB / 1.03 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/1.087, allocations: 161.6 kB / 1.03 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 8.972e-05/1.087, allocations: 30.41 kB / 1.03 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/1.087, allocations: 16.91 kB / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/1.087, allocations: 0 / 1.03 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.087, allocations: 34.56 kB / 1.03 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/1.087, allocations: 0 / 1.03 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0002082/1.087, allocations: 57.38 kB / 1.03 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/1.087, allocations: 51.41 kB / 1.031 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/1.087, allocations: 92.98 kB / 1.031 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/1.087, allocations: 25.7 kB / 1.031 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/1.087, allocations: 83.2 kB / 1.031 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/1.087, allocations: 3.906 kB / 1.031 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/1.087, allocations: 0 / 1.031 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.088, allocations: 315 kB / 1.031 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.959e-05/1.088, allocations: 12 kB / 1.031 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/1.088, allocations: 11.86 kB / 1.031 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/1.088, allocations: 8 kB / 1.031 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.088, allocations: 0 / 1.031 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001419/1.088, allocations: 49.62 kB / 1.031 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/1.088, allocations: 4 kB / 1.031 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/1.088, allocations: 7.984 kB / 1.031 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.088, allocations: 0 / 1.031 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/1.088, allocations: 96 / 1.031 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/1.088, allocations: 4 kB / 1.031 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/1.088, allocations: 0 / 1.031 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/1.088, allocations: 7.938 kB / 1.031 GB, free: 11.85 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.364e-05/1.088, allocations: 109.2 kB / 1.031 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/1.088, allocations: 11.84 kB / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/1.088, allocations: 65.59 kB / 1.031 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.088, allocations: 0 / 1.031 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/1.088, allocations: 0 / 1.031 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/1.088, allocations: 4.031 kB / 1.031 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/1.089, allocations: 164.8 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/1.089, allocations: 4 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.956e-06/1.089, allocations: 0 / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/1.089, allocations: 3.938 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/1.089, allocations: 0 / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/1.089, allocations: 3.984 kB / 1.031 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.089, allocations: 0 / 1.031 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/1.089, allocations: 72.77 kB / 1.032 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/1.089, allocations: 81.11 kB / 1.032 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/1.089, allocations: 0 / 1.032 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/1.089, allocations: 0 / 1.032 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/1.089, allocations: 0 / 1.032 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/1.089, allocations: 7.984 kB / 1.032 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.401e-05/1.089, allocations: 82.78 kB / 1.032 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.8e-07/1.089, allocations: 0 / 1.032 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004366/1.09, allocations: 75.72 kB / 1.032 GB, free: 11.1 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.0008287/1.09, allocations: 304 kB / 1.032 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001554/1.091, allocations: 71.39 kB / 1.032 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.091, allocations: 0 / 1.032 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/1.091, allocations: 33.14 kB / 1.032 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/1.091, allocations: 15.94 kB / 1.032 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/1.092, allocations: 191.1 kB / 1.032 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/1.092, allocations: 0.677 MB / 1.033 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.46e-05/1.092, allocations: 7.984 kB / 1.033 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/1.092, allocations: 11.44 kB / 1.033 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of SimCode: time 8.22e-07/1.092, allocations: 0 / 1.033 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of Templates: time 0.006203/1.098, allocations: 1.698 MB / 1.035 GB, free: 8.156 MB / 0.6511 GB