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.01452/0.01453, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001136/0.001135, allocations: 176 kB / 16.06 MB, free: 5.832 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.678/3.678, allocations: 389.1 MB / 405.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.068/4.068, allocations: 472.3 MB / 0.9018 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.0004891, allocations: 10.91 kB / 1.008 GB, free: 54.52 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1461, allocations: 98.72 MB / 1.104 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0007511/0.1469, allocations: 271.2 kB / 1.104 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1486, allocations: 1.043 MB / 1.105 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.1487, allocations: 0 / 1.105 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 8.187e-05/0.1488, allocations: 3.984 kB / 1.105 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.689e-05/0.1488, allocations: 0 / 1.105 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.1493, allocations: 149.6 kB / 1.105 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.701e-05/0.1494, allocations: 11.98 kB / 1.105 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.1494, allocations: 0 / 1.105 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.542e-05/0.1495, allocations: 11.94 kB / 1.105 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.1495, allocations: 8.984 kB / 1.105 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.1496, allocations: 7.922 kB / 1.105 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000406/0.15, allocations: 164.6 kB / 1.106 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.15, allocations: 7.938 kB / 1.106 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.1501, allocations: 25.7 kB / 1.106 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.1503, allocations: 137.1 kB / 1.106 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.707e-06/0.1503, allocations: 0 / 1.106 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.825e-06/0.1504, allocations: 0 / 1.106 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.334e-06/0.1504, allocations: 0.5 kB / 1.106 GB, free: 4.105 MB / 0.5105 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.0004007/0.1508, allocations: 357.3 kB / 1.106 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1508, allocations: 16.02 kB / 1.106 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.1509, allocations: 3.953 kB / 1.106 GB, free: 3.691 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.151, allocations: 159.1 kB / 1.106 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1511, allocations: 4.688 kB / 1.106 GB, free: 3.492 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.1511, allocations: 3.984 kB / 1.106 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.1512, allocations: 38.31 kB / 1.106 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.099e-06/0.1512, allocations: 3.219 kB / 1.106 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1513, allocations: 0 / 1.106 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.1513, allocations: 11.92 kB / 1.106 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.1513, allocations: 8 kB / 1.106 GB, free: 3.426 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.1515, allocations: 153.6 kB / 1.107 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.799e-05/0.1516, allocations: 38.53 kB / 1.107 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.279e-05/0.1517, allocations: 10.02 kB / 1.107 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.994e-06/0.1517, allocations: 0 / 1.107 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1517, allocations: 35.66 kB / 1.107 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.841e-06/0.1518, allocations: 0 / 1.107 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001866/0.1519, allocations: 63.92 kB / 1.107 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.152, allocations: 51.41 kB / 1.107 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.1521, allocations: 93.86 kB / 1.107 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1521, allocations: 26.2 kB / 1.107 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.1522, allocations: 82.08 kB / 1.107 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.1522, allocations: 8.125 kB / 1.107 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-06/0.1522, allocations: 4 kB / 1.107 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1524, allocations: 322.8 kB / 1.107 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.1524, allocations: 5.688 kB / 1.107 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.1525, allocations: 4 kB / 1.107 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.697e-05/0.1525, allocations: 11.98 kB / 1.107 GB, free: 2.426 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-06/0.1525, allocations: 4.531 kB / 1.107 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001279/0.1527, allocations: 62.45 kB / 1.107 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1527, allocations: 4 kB / 1.107 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.075e-06/0.1527, allocations: 4 kB / 1.107 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1527, allocations: 1.562 kB / 1.107 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.668e-06/0.1527, allocations: 0 / 1.107 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.141e-06/0.1527, allocations: 0 / 1.107 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/0.1528, allocations: 3.906 kB / 1.107 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1528, allocations: 8.766 kB / 1.107 GB, free: 2.336 MB / 0.5105 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: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.559e-05/0.1529, allocations: 113.2 kB / 1.107 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.1529, allocations: 4 kB / 1.107 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.043e-05/0.1529, allocations: 3.125 kB / 1.107 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.153, allocations: 0 / 1.107 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.232e-06/0.153, allocations: 0 / 1.107 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.153, allocations: 0 / 1.107 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.1532, allocations: 157.6 kB / 1.108 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1532, allocations: 0 / 1.108 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.317e-06/0.1532, allocations: 1.656 kB / 1.108 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.633e-06/0.1532, allocations: 0 / 1.108 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1532, allocations: 3.984 kB / 1.108 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.098e-06/0.1532, allocations: 3.938 kB / 1.108 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.65e-06/0.1532, allocations: 4 kB / 1.108 GB, free: 2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.1534, allocations: 81.58 kB / 1.108 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.1534, allocations: 77.11 kB / 1.108 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.1535, allocations: 7.984 kB / 1.108 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/0.1536, allocations: 4 kB / 1.108 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.1536, allocations: 3.984 kB / 1.108 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1536, allocations: 4 kB / 1.108 GB, free: 1.793 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.859e-05/0.1537, allocations: 75.28 kB / 1.108 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.93e-07/0.1537, allocations: 4.5 kB / 1.108 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003889/0.1541, allocations: 57.02 kB / 1.108 GB, free: 1.66 MB / 0.5105 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 (2): * Single equations (assignments): 0 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0009028/0.155, allocations: 326 kB / 1.108 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.1551, allocations: 24.64 kB / 1.108 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.283e-06/0.1551, allocations: 3.25 kB / 1.108 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/0.1552, allocations: 11.98 kB / 1.108 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.1554, allocations: 7.953 kB / 1.108 GB, free: 1.355 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.1558, allocations: 106.6 kB / 1.108 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1562, allocations: 0.677 MB / 1.109 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.1563, allocations: 13.44 kB / 1.109 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.126e-05/0.1563, allocations: 19.42 kB / 1.109 GB, free: 500 kB / 0.5105 GB Notification: Performance of SimCode: time 1.464e-06/0.1564, allocations: 3.469 kB / 1.109 GB, free: 500 kB / 0.5105 GB Notification: Performance of Templates: time 0.004975/0.1613, allocations: 1.503 MB / 1.111 GB, free: 15.04 MB / 0.5261 GB