Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.189/2.189, allocations: 251.1 MB / 266.1 MB, free: 11.55 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.001534/0.001534, allocations: 180.6 kB / 325.6 MB, free: 2.812 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.502/2.502, allocations: 205.4 MB / 0.5766 GB, free: 20.71 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.001171/0.001171, allocations: 95.06 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004601/0.0004602, allocations: 11.81 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2421, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008085/0.243, allocations: 270.7 kB / 0.8992 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.2446, allocations: 1.068 MB / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.2446, allocations: 0 / 0.9002 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.2448, allocations: 7.938 kB / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.314e-05/0.2448, allocations: 0 / 0.9002 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.2454, allocations: 139.7 kB / 0.9003 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.2454, allocations: 15.98 kB / 0.9004 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.325e-05/0.2455, allocations: 0 / 0.9004 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.513e-05/0.2455, allocations: 8 kB / 0.9004 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.258e-05/0.2456, allocations: 11.92 kB / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.2456, allocations: 0 / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.246, allocations: 143.7 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.246, allocations: 4 kB / 0.9005 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.2461, allocations: 25.7 kB / 0.9005 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.2463, allocations: 147.8 kB / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2463, allocations: 0 / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2464, allocations: 0 / 0.9007 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2464, allocations: 4 kB / 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.0003198/0.2467, allocations: 359.2 kB / 0.901 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.2467, allocations: 8.031 kB / 0.901 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.2468, allocations: 7.953 kB / 0.901 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.686e-05/0.2469, allocations: 163.1 kB / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2469, allocations: 0 / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.2469, allocations: 0 / 0.9012 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.2471, allocations: 49.61 kB / 0.9012 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2471, allocations: 7.984 kB / 0.9012 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2471, allocations: 0 / 0.9012 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.2472, allocations: 0 / 0.9012 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.493e-05/0.2472, allocations: 8 kB / 0.9013 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001561/0.2474, allocations: 157.6 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.199e-05/0.2475, allocations: 30.59 kB / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.2475, allocations: 0 / 0.9014 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.2475, allocations: 38.5 kB / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.2475, allocations: 0 / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001921/0.2477, allocations: 53.75 kB / 0.9015 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.2478, allocations: 59.39 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.014e-05/0.2478, allocations: 89.86 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2479, allocations: 29.64 kB / 0.9017 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.2479, allocations: 84.14 kB / 0.9018 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.2479, allocations: 8.156 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.2479, allocations: 4 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.248, allocations: 314.8 kB / 0.9021 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.79e-05/0.2481, allocations: 7.984 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.33e-05/0.2481, allocations: 8 kB / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.545e-05/0.2481, allocations: 11.92 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2481, allocations: 0 / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000102/0.2483, allocations: 49.69 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2483, allocations: 8 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2483, allocations: 4.094 kB / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2483, allocations: 0 / 0.9022 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.2483, allocations: 3.938 kB / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2483, allocations: 0 / 0.9022 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.2484, allocations: 7.984 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.2484, allocations: 4 kB / 0.9022 GB, free: 61.86 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.95e-05/0.2485, allocations: 113.8 kB / 0.9023 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.2485, allocations: 7.906 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.222e-05/0.2485, allocations: 3.125 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/0.2486, allocations: 4 kB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2486, allocations: 4 kB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2486, allocations: 0 / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.986e-05/0.2487, allocations: 157.9 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2487, allocations: 0 / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-06/0.2487, allocations: 0 / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2487, allocations: 0 / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2487, allocations: 4 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2488, allocations: 3.938 kB / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2488, allocations: 0 / 0.9025 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.2489, allocations: 81.06 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.2489, allocations: 89.03 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.249, allocations: 0 / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2491, allocations: 0 / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.2491, allocations: 7.984 kB / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.2492, allocations: 0 / 0.9026 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.669e-05/0.2492, allocations: 79.28 kB / 0.9027 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.41e-07/0.2492, allocations: 4.125 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003731/0.2496, allocations: 63.91 kB / 0.9028 GB, free: 61.15 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.0007602/0.2504, allocations: 288.2 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.2505, allocations: 27.91 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2505, allocations: 4.062 kB / 0.9031 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.2506, 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.0001255/0.2507, allocations: 3.953 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003409/0.251, allocations: 114.6 kB / 0.9032 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.2512, allocations: 0.677 MB / 0.9039 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.2513, allocations: 19.97 kB / 0.9039 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.2514, allocations: 23.48 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of SimCode: time 1.213e-06/0.2514, allocations: 0 / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of Templates: time 0.005401/0.2568, allocations: 1.492 MB / 0.9054 GB, free: 58.5 MB / 0.6042 GB