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 4.982/4.982, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004034/0.004034, allocations: 360.7 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.277/4.277, allocations: 410.7 MB / 1.112 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001789/0.001788, allocations: 180.4 kB / 1.225 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005072/0.0005074, allocations: 12 kB / 1.348 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.591/0.5915, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.0006635/0.5923, allocations: 274.8 kB / 1.461 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.5936, allocations: 1.044 MB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.877e-05/0.5937, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 8.646e-05/0.5938, allocations: 9.016 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.559e-05/0.5938, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.5943, allocations: 141 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 3.965e-05/0.5943, allocations: 15.98 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.5944, allocations: 1.656 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.5944, allocations: 7.938 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.957e-05/0.5945, allocations: 15.97 kB / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.5945, allocations: 0 / 1.462 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.5949, allocations: 165 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.5949, allocations: 7.938 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.149e-05/0.5949, allocations: 25.7 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.5952, allocations: 135.8 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.874e-06/0.5952, allocations: 0.5312 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.762e-06/0.5952, allocations: 1.062 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.031e-06/0.5952, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 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.0002706/0.5955, allocations: 360.3 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.5955, allocations: 9.109 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.5956, allocations: 4.812 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.486e-05/0.5957, allocations: 163 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5957, allocations: 0.75 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.5957, allocations: 7.312 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.5958, allocations: 43.34 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.894e-06/0.5958, allocations: 3.984 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.5959, allocations: 0 / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.5959, allocations: 1.469 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.018e-05/0.5959, allocations: 11.94 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.5961, allocations: 159.7 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.078e-05/0.5962, allocations: 27.56 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.769e-05/0.5962, allocations: 14.89 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.737e-06/0.5962, allocations: 3.938 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.5962, allocations: 34.56 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 2.754e-06/0.5963, allocations: 0.9688 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001847/0.5965, allocations: 65.52 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.5965, allocations: 58.12 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.5966, allocations: 93.86 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.5966, allocations: 29.7 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.663e-05/0.5966, allocations: 80.14 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.5966, allocations: 7.891 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-06/0.5967, allocations: 4.766 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.043e-05/0.5967, allocations: 314.8 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.297e-05/0.5967, allocations: 8.625 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.064e-05/0.5968, allocations: 12.7 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.009e-05/0.5968, allocations: 6.031 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.333e-06/0.5968, allocations: 4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.596e-05/0.5969, allocations: 49.62 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.597, allocations: 7.594 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.597, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.597, allocations: 2.75 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.692e-06/0.597, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.224e-06/0.597, allocations: 3.984 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.853e-05/0.5971, allocations: 4 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.5971, allocations: 0 / 1.464 GB, free: 280.7 MB / 0.8542 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.783e-05/0.5971, allocations: 118.4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.5972, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.083e-05/0.5972, allocations: 6.281 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.5972, allocations: 4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.043e-06/0.5972, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.445e-06/0.5972, allocations: 3.984 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.428e-05/0.5973, allocations: 153.6 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-06/0.5973, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-06/0.5974, allocations: 3.984 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5974, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-06/0.5974, allocations: 11 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.086e-06/0.5974, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5974, allocations: 0 / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.5975, allocations: 84.95 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.287e-05/0.5976, allocations: 81.09 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.5976, allocations: 1.031 kB / 1.464 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.5977, allocations: 3.984 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.5977, allocations: 5.062 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.5977, allocations: 4 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.537e-05/0.5977, allocations: 80.47 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.68e-07/0.5978, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003451/0.5981, allocations: 59.97 kB / 1.465 GB, free: 280 MB / 0.8542 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.0007207/0.5988, allocations: 303.2 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.599, allocations: 17.3 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.525e-06/0.599, allocations: 4 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.706e-05/0.599, allocations: 11.92 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.5992, allocations: 15 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.5996, allocations: 108.2 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.5997, allocations: 0.677 MB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.942e-05/0.5998, allocations: 17.55 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.5999, allocations: 19.42 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of SimCode: time 2.006e-06/0.5999, allocations: 1.062 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.004412/0.6043, allocations: 1.507 MB / 1.467 GB, free: 277.5 MB / 0.8542 GB