Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.441/2.441, allocations: 287.9 MB / 302.9 MB, free: 8.32 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.001431/0.001431, allocations: 173.2 kB / 371.4 MB, free: 10.66 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 2.045/2.045, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001575/0.001575, allocations: 94.61 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004663, allocations: 14 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1535, allocations: 115.2 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0006331/0.1542, allocations: 278 kB / 0.979 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1556, allocations: 1.063 MB / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.1556, allocations: 0 / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.843e-05/0.1557, allocations: 0 / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.57e-05/0.1558, allocations: 3.938 kB / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.1562, allocations: 139.7 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.831e-05/0.1563, allocations: 4 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.1563, allocations: 7.984 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.233e-05/0.1563, allocations: 11.94 kB / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.1564, allocations: 15.92 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.1564, allocations: 7.984 kB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.1568, allocations: 131.8 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.1568, allocations: 3.984 kB / 0.9804 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.1568, allocations: 29.7 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1571, allocations: 135.8 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.483e-06/0.1571, allocations: 0 / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.916e-06/0.1571, allocations: 0 / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.667e-06/0.1571, allocations: 4 kB / 0.9805 GB, free: 26.36 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.0002634/0.1574, allocations: 359.4 kB / 0.9809 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1574, allocations: 12.02 kB / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.1575, allocations: 0 / 0.9809 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.196e-05/0.1576, allocations: 167 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1576, allocations: 4 kB / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.1576, allocations: 0 / 0.981 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1577, allocations: 49.61 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.683e-06/0.1578, allocations: 0 / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1578, allocations: 0 / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.1578, allocations: 7.938 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.097e-05/0.1579, allocations: 11.98 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.158, allocations: 157.8 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.445e-05/0.1581, allocations: 30.61 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.697e-06/0.1581, allocations: 0 / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.1581, allocations: 38.48 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.744e-06/0.1581, allocations: 3.984 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001601/0.1583, allocations: 61.75 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/0.1583, allocations: 51.41 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.691e-05/0.1584, allocations: 101.8 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.1584, allocations: 25.7 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.849e-05/0.1585, allocations: 80.14 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.1585, allocations: 7.844 kB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-06/0.1585, allocations: 0 / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.1586, allocations: 319 kB / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.1586, allocations: 12 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.95e-05/0.1586, allocations: 7.984 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.004e-05/0.1587, allocations: 11.94 kB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.266e-06/0.1587, allocations: 0 / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.879e-05/0.1588, allocations: 57.66 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1588, allocations: 5.562 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.765e-06/0.1588, allocations: 0 / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1588, allocations: 0 / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.52e-06/0.1589, allocations: 96 / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.988e-06/0.1589, allocations: 8 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.407e-05/0.1589, allocations: 0 / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1589, allocations: 4 kB / 0.9821 GB, free: 24.59 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.903e-05/0.159, allocations: 117.8 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.159, allocations: 0 / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.955e-06/0.159, allocations: 3.125 kB / 0.9822 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.1591, allocations: 7.984 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.041e-06/0.1591, allocations: 0 / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-06/0.1591, allocations: 0 / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.496e-05/0.1592, allocations: 157.6 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-06/0.1592, allocations: 0 / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.306e-06/0.1592, allocations: 0 / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.732e-06/0.1592, allocations: 4 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-06/0.1592, allocations: 0 / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.912e-06/0.1593, allocations: 3.938 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.193e-06/0.1593, allocations: 3.984 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.1594, allocations: 77.11 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.1594, allocations: 93 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1594, allocations: 3.938 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.209e-05/0.1595, allocations: 4 kB / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.1595, allocations: 0 / 0.9825 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1596, allocations: 7.984 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.304e-05/0.1596, allocations: 75.28 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.62e-06/0.1596, allocations: 0 / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003448/0.16, allocations: 67.91 kB / 0.9827 GB, free: 23.88 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.0007133/0.1607, allocations: 297.1 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.781e-05/0.1608, allocations: 27.88 kB / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1608, allocations: 0 / 0.983 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.807e-05/0.1609, allocations: 11.98 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.161, allocations: 8.438 kB / 0.983 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.1613, allocations: 102.7 kB / 0.9831 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.1614, allocations: 0.677 MB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.807e-05/0.1615, allocations: 19.92 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.1616, allocations: 23.42 kB / 0.9838 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of SimCode: time 1.439e-06/0.1616, allocations: 4 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of Templates: time 0.004273/0.1659, allocations: 1.514 MB / 0.9853 GB, free: 21.24 MB / 0.6198 GB