Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008925/0.008925, allocations: 110.6 kB / 15.05 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001095/0.001095, allocations: 184.1 kB / 15.94 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.937/1.937, allocations: 194.6 MB / 211.3 MB, free: 11.26 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.259/2.259, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007696/0.0007695, allocations: 11.98 kB / 0.5869 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.665, allocations: 98.72 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.188/0.8531, allocations: 126 MB / 0.8064 GB, free: 284 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/0.8534, allocations: 91.94 kB / 0.8065 GB, free: 192 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01772/0.8712, allocations: 4.632 MB / 0.811 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.541e-06/0.8712, allocations: 3.938 kB / 0.811 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.787e-06/0.8712, allocations: 0 / 0.811 GB, free: 11.52 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.0004754/0.8717, allocations: 375.3 kB / 0.8114 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.8718, allocations: 16.03 kB / 0.8114 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.8718, allocations: 3.953 kB / 0.8114 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.872, allocations: 163.1 kB / 0.8115 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.872, allocations: 0 / 0.8115 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.872, allocations: 7.984 kB / 0.8116 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.8722, allocations: 37.69 kB / 0.8116 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.226e-06/0.8722, allocations: 0 / 0.8116 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.8722, allocations: 0 / 0.8116 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.606e-06/0.8722, allocations: 0 / 0.8116 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.755e-05/0.8723, allocations: 15.94 kB / 0.8116 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.8725, allocations: 157.6 kB / 0.8118 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.308e-05/0.8726, allocations: 34.59 kB / 0.8118 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.8726, allocations: 0 / 0.8118 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.8727, allocations: 30.62 kB / 0.8118 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.834e-06/0.8727, allocations: 4 kB / 0.8118 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001992/0.8729, allocations: 65.61 kB / 0.8119 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.8729, allocations: 51.41 kB / 0.8119 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.931e-05/0.873, allocations: 89 kB / 0.812 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.8731, allocations: 25.7 kB / 0.812 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.871e-05/0.8731, allocations: 80.14 kB / 0.8121 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.8732, allocations: 7.906 kB / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-06/0.8732, allocations: 0 / 0.8121 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.8733, allocations: 315 kB / 0.8124 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.046e-05/0.8734, allocations: 15.98 kB / 0.8124 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.265e-05/0.8734, allocations: 7.938 kB / 0.8125 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.8735, allocations: 11.98 kB / 0.8125 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.381e-06/0.8735, allocations: 4 kB / 0.8125 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001184/0.8736, allocations: 49.62 kB / 0.8125 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8736, allocations: 4 kB / 0.8125 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.8737, allocations: 4 kB / 0.8125 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.8737, allocations: 0 / 0.8125 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.598e-06/0.8737, allocations: 0 / 0.8125 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.793e-06/0.8737, allocations: 4.094 kB / 0.8125 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.365e-05/0.8737, allocations: 7.906 kB / 0.8125 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.8738, allocations: 4 kB / 0.8125 GB, free: 9.754 MB / 0.6355 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.0001054/0.8739, allocations: 117.8 kB / 0.8126 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.8739, allocations: 4 kB / 0.8127 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.8741, allocations: 69.59 kB / 0.8127 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.264e-06/0.8741, allocations: 0 / 0.8127 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.679e-06/0.8741, allocations: 0 / 0.8127 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.982e-06/0.8742, allocations: 7.969 kB / 0.8127 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.8743, allocations: 153.6 kB / 0.8129 GB, free: 9.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.201e-06/0.8743, allocations: 4 kB / 0.8129 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-06/0.8744, allocations: 0 / 0.8129 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.689e-06/0.8744, allocations: 0 / 0.8129 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.348e-06/0.8744, allocations: 0 / 0.8129 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.059e-06/0.8744, allocations: 0 / 0.8129 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.587e-06/0.8744, allocations: 0 / 0.8129 GB, free: 9.332 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.8745, allocations: 73.08 kB / 0.8129 GB, free: 9.242 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.8746, allocations: 85.09 kB / 0.813 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.8746, allocations: 4 kB / 0.813 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.8747, allocations: 0 / 0.813 GB, free: 9.137 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.8747, allocations: 3.984 kB / 0.813 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.8748, allocations: 4 kB / 0.813 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.84e-05/0.8748, allocations: 83.27 kB / 0.8131 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.97e-07/0.8748, allocations: 0 / 0.8131 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004213/0.8753, allocations: 79.84 kB / 0.8132 GB, free: 8.969 MB / 0.6355 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.0008442/0.8761, allocations: 322.2 kB / 0.8135 GB, free: 8.711 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.8763, allocations: 67.39 kB / 0.8136 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.099e-06/0.8763, allocations: 0 / 0.8136 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.8764, allocations: 41.75 kB / 0.8136 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.8765, allocations: 3.953 kB / 0.8136 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000831/0.8773, allocations: 226.4 kB / 0.8138 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.8777, allocations: 0.677 MB / 0.8145 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.164e-05/0.8778, allocations: 11.92 kB / 0.8145 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.036e-05/0.8778, allocations: 15.44 kB / 0.8145 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of SimCode: time 1.309e-06/0.8778, allocations: 64 / 0.8145 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of Templates: time 0.005173/0.883, allocations: 1.666 MB / 0.8161 GB, free: 5.949 MB / 0.6355 GB