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.004209/0.004213, allocations: 232.9 kB / 15.82 MB, free: 6.289 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.001178/0.001178, allocations: 173.1 kB / 16.7 MB, free: 5.449 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 3.961/3.961, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.128/4.128, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006772/0.0006774, allocations: 18.91 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2318, allocations: 98.7 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7924/1.024, allocations: 126 MB / 1.228 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003676/1.025, allocations: 94.78 kB / 1.228 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01872/1.043, allocations: 4.631 MB / 1.232 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/1.043, allocations: 3.938 kB / 1.232 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.934e-06/1.043, allocations: 0 / 1.232 GB, free: 24.96 MB / 0.6198 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.0004341/1.044, allocations: 374 kB / 1.233 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.044, allocations: 8.734 kB / 1.233 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/1.044, allocations: 4 kB / 1.233 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.361e-05/1.044, allocations: 168.9 kB / 1.233 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/1.044, allocations: 2.875 kB / 1.233 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/1.044, allocations: 0.5625 kB / 1.233 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/1.044, allocations: 46.92 kB / 1.233 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.044, allocations: 0.5625 kB / 1.233 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/1.044, allocations: 0 / 1.233 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/1.044, allocations: 0 / 1.233 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.716e-05/1.044, allocations: 9.391 kB / 1.233 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/1.045, allocations: 163.4 kB / 1.233 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.439e-05/1.045, allocations: 28.5 kB / 1.233 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.475e-05/1.045, allocations: 14.89 kB / 1.233 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/1.045, allocations: 4.016 kB / 1.233 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/1.045, allocations: 35.27 kB / 1.233 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/1.045, allocations: 0 / 1.233 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002014/1.045, allocations: 61.2 kB / 1.233 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/1.045, allocations: 51.41 kB / 1.233 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/1.045, allocations: 102.5 kB / 1.233 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/1.045, allocations: 31.58 kB / 1.233 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/1.045, allocations: 80.75 kB / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/1.045, allocations: 2.906 kB / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/1.045, allocations: 0 / 1.233 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.045, allocations: 319.1 kB / 1.234 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.117e-05/1.045, allocations: 9.297 kB / 1.234 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.896e-05/1.046, allocations: 6.578 kB / 1.234 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/1.046, allocations: 9.406 kB / 1.234 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.046, allocations: 3.5 kB / 1.234 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001143/1.046, allocations: 53.09 kB / 1.234 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.046, allocations: 4 kB / 1.234 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/1.046, allocations: 4.797 kB / 1.234 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.046, allocations: 0.75 kB / 1.234 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/1.046, allocations: 0 / 1.234 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/1.046, allocations: 0 / 1.234 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/1.046, allocations: 0 / 1.234 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.671e-05/1.046, allocations: 8.562 kB / 1.234 GB, free: 23.28 MB / 0.6198 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 9.644e-05/1.046, allocations: 118.6 kB / 1.234 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/1.046, allocations: 3.906 kB / 1.234 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/1.046, allocations: 66.88 kB / 1.234 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/1.046, allocations: 0 / 1.234 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.046, allocations: 3.938 kB / 1.234 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.046, allocations: 0.7031 kB / 1.234 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/1.046, allocations: 156.8 kB / 1.234 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.046, allocations: 7.891 kB / 1.234 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/1.046, allocations: 0 / 1.234 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.046, allocations: 0.6094 kB / 1.234 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/1.046, allocations: 0 / 1.234 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/1.046, allocations: 0.6562 kB / 1.234 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.047, allocations: 6.531 kB / 1.234 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.996e-05/1.047, allocations: 69.7 kB / 1.234 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/1.047, allocations: 78.33 kB / 1.234 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/1.047, allocations: 1.859 kB / 1.234 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-05/1.047, allocations: 2.938 kB / 1.234 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/1.047, allocations: 4.609 kB / 1.234 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/1.047, allocations: 0 / 1.234 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.32e-05/1.047, allocations: 86.34 kB / 1.234 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/1.047, allocations: 0 / 1.234 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004684/1.047, allocations: 81.73 kB / 1.235 GB, free: 22.56 MB / 0.6198 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.0008383/1.048, allocations: 331 kB / 1.235 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001521/1.048, allocations: 70.64 kB / 1.235 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.048, allocations: 3 kB / 1.235 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.023e-05/1.048, allocations: 31.25 kB / 1.235 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/1.049, allocations: 14.08 kB / 1.235 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008743/1.05, allocations: 224.4 kB / 1.235 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007835/1.05, allocations: 0.676 MB / 1.236 GB, free: 37.35 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.264e-05/1.05, allocations: 10.48 kB / 1.236 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.639e-05/1.051, allocations: 7.438 kB / 1.236 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of SimCode: time 1.492e-06/1.051, allocations: 3.656 kB / 1.236 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of Templates: time 0.006004/1.057, allocations: 1.665 MB / 1.237 GB, free: 36.52 MB / 0.6355 GB