Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.IO.Python36.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.783/2.783, allocations: 287.9 MB / 302.9 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001404, allocations: 187 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.99/1.99, allocations: 205.4 MB / 0.6301 GB, free: 10.37 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 99.75 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.000465, allocations: 11 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1561, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.0006391/0.1568, allocations: 273.9 kB / 0.979 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1581, allocations: 1.059 MB / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.1582, allocations: 0 / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.171e-05/0.1583, allocations: 4 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.769e-05/0.1583, allocations: 4 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004526/0.1588, allocations: 143.6 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.939e-05/0.1589, allocations: 4 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.974e-05/0.1589, allocations: 3.938 kB / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.333e-05/0.1589, allocations: 7.984 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.031e-05/0.159, allocations: 15.98 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.159, allocations: 0 / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.1594, allocations: 139.8 kB / 0.9804 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.1594, allocations: 11.98 kB / 0.9804 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.1594, allocations: 25.7 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.1597, allocations: 135.8 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.676e-06/0.1597, allocations: 3.938 kB / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.983e-06/0.1597, allocations: 0 / 0.9805 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.1597, allocations: 0 / 0.9805 GB, free: 26.35 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.0002632/0.16, allocations: 359.3 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.16, allocations: 12.02 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.391e-05/0.1601, allocations: 0 / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.205e-05/0.1602, allocations: 171 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1602, allocations: 4 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.1602, allocations: 3.984 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1603, allocations: 41.69 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.957e-06/0.1603, allocations: 3.938 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1604, allocations: 4 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.1604, allocations: 0 / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.941e-05/0.1604, allocations: 7.984 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.1606, allocations: 157.9 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.238e-05/0.1607, allocations: 34.56 kB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.893e-06/0.1607, allocations: 0 / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.1607, allocations: 34.62 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.073e-06/0.1607, allocations: 0 / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001742/0.1609, allocations: 61.61 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.1609, allocations: 51.41 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.946e-05/0.161, allocations: 101.9 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.161, allocations: 25.7 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.757e-05/0.1611, allocations: 84.08 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.188e-05/0.1611, allocations: 7.891 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-06/0.1611, allocations: 0 / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/0.1612, allocations: 322.8 kB / 0.982 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.374e-05/0.1612, allocations: 4 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.024e-05/0.1612, allocations: 7.984 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.1613, allocations: 12.19 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1613, allocations: 0 / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001021/0.1614, allocations: 57.61 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1614, allocations: 4 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1614, allocations: 0 / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1615, allocations: 4 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.012e-06/0.1615, allocations: 3.984 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.144e-06/0.1615, allocations: 3.984 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.1615, allocations: 0 / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1615, allocations: 4 kB / 0.9821 GB, free: 24.58 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: 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 5.682e-05/0.1616, allocations: 113.8 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.1616, allocations: 0 / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.146e-05/0.1616, allocations: 7.125 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.1617, allocations: 3.938 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.546e-06/0.1617, allocations: 0 / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.385e-06/0.1617, allocations: 3.984 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.925e-05/0.1618, allocations: 153.6 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.117e-06/0.1618, allocations: 3.984 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-06/0.1618, allocations: 4 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.772e-06/0.1618, allocations: 4 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.194e-06/0.1619, allocations: 0 / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.673e-06/0.1619, allocations: 3.984 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.541e-06/0.1619, allocations: 0 / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.162, allocations: 81.06 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.162, allocations: 88.95 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.162, allocations: 0 / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.1621, allocations: 7.984 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.1622, allocations: 8.031 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.1622, allocations: 4 kB / 0.9825 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.441e-05/0.1622, allocations: 75.28 kB / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.16e-07/0.1622, allocations: 3.938 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003692/0.1626, allocations: 63.97 kB / 0.9827 GB, free: 23.87 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 (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.0007342/0.1634, allocations: 296.9 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.688e-05/0.1635, allocations: 19.92 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.003e-06/0.1635, allocations: 0 / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.844e-05/0.1635, allocations: 15.98 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.1637, allocations: 0 / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000309/0.164, allocations: 106.8 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.1641, allocations: 0.677 MB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.528e-05/0.1642, allocations: 19.97 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.1643, allocations: 19.42 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of SimCode: time 1.484e-06/0.1643, allocations: 0 / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.004334/0.1686, allocations: 1.505 MB / 0.9852 GB, free: 21.25 MB / 0.6198 GB