Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.423/2.423, allocations: 251.1 MB / 266.1 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001577, allocations: 179.2 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.575/2.575, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001156, allocations: 96.59 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004582/0.0004583, allocations: 12.05 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.22, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008469/0.2209, allocations: 261.2 kB / 0.8991 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.2226, allocations: 1.072 MB / 0.9002 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.2227, allocations: 3.938 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.2228, allocations: 7.984 kB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.739e-05/0.2229, allocations: 0 / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005729/0.2235, allocations: 139.7 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.188e-05/0.2235, allocations: 15.97 kB / 0.9003 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.643e-05/0.2236, allocations: 0 / 0.9003 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.631e-05/0.2236, allocations: 8 kB / 0.9004 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.2237, allocations: 11.92 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.2237, allocations: 0 / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.2241, allocations: 143.7 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.2242, allocations: 4 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.2242, allocations: 29.7 kB / 0.9005 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.2245, allocations: 143.8 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2245, allocations: 0 / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.053e-06/0.2245, allocations: 4 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.2246, allocations: 0 / 0.9007 GB, free: 63.62 MB / 0.6042 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.0003428/0.2249, allocations: 355.3 kB / 0.901 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.225, allocations: 12.02 kB / 0.901 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.225, allocations: 7.953 kB / 0.901 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.936e-05/0.2251, allocations: 167 kB / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.2252, allocations: 3.984 kB / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.2252, allocations: 3.938 kB / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.2253, allocations: 45.69 kB / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2254, allocations: 0 / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.2254, allocations: 0 / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-05/0.2254, allocations: 3.984 kB / 0.9013 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.495e-05/0.2255, allocations: 8 kB / 0.9013 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.2256, allocations: 161.6 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.232e-05/0.2257, allocations: 30.59 kB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-06/0.2257, allocations: 4 kB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.2258, allocations: 34.56 kB / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.2258, allocations: 0 / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002014/0.226, allocations: 53.69 kB / 0.9015 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.226, allocations: 51.41 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/0.2261, allocations: 97.84 kB / 0.9017 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.2261, allocations: 25.7 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.059e-05/0.2262, allocations: 84.39 kB / 0.9018 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.2262, allocations: 11.91 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.2262, allocations: 0 / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.332e-05/0.2263, allocations: 314.8 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.834e-05/0.2263, allocations: 11.92 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.2264, allocations: 8 kB / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.2264, allocations: 8 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2264, allocations: 0 / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001048/0.2265, allocations: 49.67 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2266, allocations: 12.09 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2266, allocations: 0 / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2266, allocations: 0 / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.923e-06/0.2266, allocations: 0 / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.2266, allocations: 0 / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.2267, allocations: 3.938 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.2267, allocations: 4 kB / 0.9022 GB, free: 61.87 MB / 0.6042 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 6.931e-05/0.2268, allocations: 109.8 kB / 0.9023 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.2268, allocations: 7.906 kB / 0.9023 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.572e-05/0.2268, allocations: 11.11 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.2269, allocations: 0 / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.2269, allocations: 7.938 kB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2269, allocations: 0 / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.227, allocations: 161.9 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.227, allocations: 0 / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-06/0.227, allocations: 4 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.227, allocations: 0 / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.2271, allocations: 4 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2271, allocations: 3.938 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2271, allocations: 0 / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.2272, allocations: 81.06 kB / 0.9026 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.2272, allocations: 85.05 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.2273, allocations: 0 / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.2274, allocations: 0 / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-05/0.2274, allocations: 7.984 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.2274, allocations: 0 / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.954e-05/0.2275, allocations: 83.31 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2275, allocations: 0 / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003725/0.2279, allocations: 59.92 kB / 0.9028 GB, free: 61.16 MB / 0.6042 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.0007897/0.2287, allocations: 302.4 kB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.2288, allocations: 23.98 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2288, allocations: 0 / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.111e-05/0.2289, allocations: 8 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.229, allocations: 4.766 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/0.2294, allocations: 114.7 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.2296, allocations: 0.677 MB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.2297, allocations: 24.09 kB / 0.9039 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.2298, allocations: 19.42 kB / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of SimCode: time 7.01e-07/0.2298, allocations: 0 / 0.9039 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.005303/0.2351, allocations: 1.517 MB / 0.9054 GB, free: 58.5 MB / 0.6042 GB