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 5.15/5.15, allocations: 0.5623 GB / 0.5776 GB, free: 3.359 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.002522/0.002522, allocations: 354.6 kB / 0.6447 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.302/4.302, allocations: 410.7 MB / 1.113 GB, free: 5.941 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.001879/0.001879, allocations: 184.7 kB / 1.226 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006565/0.0006569, allocations: 16 kB / 1.349 GB, free: 8.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7509/0.7515, 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.0007788/0.7524, allocations: 273.8 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.754, allocations: 1.048 MB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.754, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.287e-05/0.7541, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.7542, allocations: 4 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.7547, allocations: 145.5 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.4e-05/0.7547, allocations: 7.984 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.7548, allocations: 4 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.633e-05/0.7548, allocations: 15.92 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.138e-05/0.7549, allocations: 7.984 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.7549, allocations: 1.438 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.7553, allocations: 163.6 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.7553, allocations: 11.92 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.374e-05/0.7554, allocations: 25.7 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.7556, allocations: 136.5 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.7556, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7556, allocations: 0.5312 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.7557, allocations: 4.75 kB / 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.0003137/0.756, allocations: 356 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.756, allocations: 11.62 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.7561, allocations: 1.281 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.546e-05/0.7562, allocations: 167 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.7562, allocations: 4 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.7562, allocations: 0.6875 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.7564, allocations: 38.44 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.7564, allocations: 0.5 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.7564, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/0.7564, allocations: 10.36 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.446e-05/0.7565, allocations: 7.938 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.7567, allocations: 160.9 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.7567, allocations: 31.88 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.7568, allocations: 8.922 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.7568, allocations: 3.938 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.7568, allocations: 39.62 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.753e-06/0.7569, allocations: 0.5 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/0.757, allocations: 63.08 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.7571, allocations: 51.41 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.832e-05/0.7571, allocations: 98.61 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.7572, allocations: 25.7 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.018e-05/0.7572, allocations: 84.66 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.7572, allocations: 6.344 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.299e-06/0.7572, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.899e-05/0.7573, allocations: 318.8 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.7574, allocations: 4 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.7574, allocations: 7.984 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.42e-05/0.7574, allocations: 14.06 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7574, allocations: 3.938 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001004/0.7575, allocations: 49.62 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.7576, allocations: 4 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.7576, allocations: 5.938 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.7576, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.7576, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.7576, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.776e-05/0.7577, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.7577, allocations: 9.797 kB / 1.465 GB, free: 280.8 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 6.441e-05/0.7578, allocations: 113.3 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.7578, allocations: 4 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.316e-05/0.7578, allocations: 10.09 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.7578, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7578, allocations: 1.062 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.7579, allocations: 81.05 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.7579, allocations: 3.984 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.758, allocations: 4.531 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.758, allocations: 5.797 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.985e-05/0.7581, allocations: 128.9 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001324/0.7583, allocations: 224.4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.509e-05/0.7583, allocations: 8 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.441e-05/0.7584, allocations: 83.97 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of Backend: time 8.21e-07/0.7584, allocations: 4.938 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.7594, allocations: 291 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003444/0.7598, allocations: 0.5496 MB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.005154/0.765, allocations: 1.645 MB / 1.468 GB, free: 277.8 MB / 0.8542 GB