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 4.852/4.852, allocations: 0.5623 GB / 0.5776 GB, free: 3.371 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.002548/0.002548, allocations: 360.5 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.21/4.21, allocations: 410.7 MB / 1.113 GB, free: 5.98 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.001841/0.00184, allocations: 179.8 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005002, allocations: 16 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.718/0.7185, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008286/0.7194, allocations: 266.5 kB / 1.462 GB, free: 284.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00161/0.7211, allocations: 1.056 MB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.7211, allocations: 0.6562 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.7212, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.995e-05/0.7213, allocations: 2.438 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005148/0.7218, allocations: 147.6 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.529e-05/0.7219, allocations: 7.984 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.7219, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.611e-05/0.722, allocations: 15.94 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.284e-05/0.722, allocations: 8.734 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.722, allocations: 0 / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003907/0.7224, allocations: 168.2 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.7225, allocations: 7.938 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.7225, allocations: 26.98 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.7228, allocations: 135.8 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7228, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7228, allocations: 1.469 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7228, 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.0003251/0.7232, allocations: 359.3 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.7232, allocations: 12.19 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.7233, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.7234, allocations: 168.6 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.7234, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.7234, allocations: 6.438 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.7236, allocations: 45.66 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.7236, allocations: 4.781 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.7236, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.413e-05/0.7237, allocations: 8 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.773e-05/0.7237, allocations: 8.906 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.7239, allocations: 159.7 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.069e-05/0.724, allocations: 32.38 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.323e-05/0.7241, allocations: 8.922 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.7241, allocations: 6.125 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.7241, allocations: 39.12 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.804e-06/0.7241, allocations: 1.375 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002033/0.7243, allocations: 61.52 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.7244, allocations: 52.16 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/0.7244, allocations: 100.7 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.7245, allocations: 25.7 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.067e-05/0.7245, allocations: 80.14 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.7245, allocations: 7.891 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.7245, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.926e-05/0.7246, allocations: 318.8 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.7247, allocations: 4.75 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.7247, allocations: 7.984 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.51e-05/0.7247, allocations: 12.62 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7247, allocations: 2.125 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001024/0.7249, allocations: 49.62 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.7249, allocations: 4 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.7249, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.7249, allocations: 4 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-06/0.7249, allocations: 5.266 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.7249, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.725, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.725, allocations: 5.625 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.865e-05/0.7251, allocations: 113.8 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.7251, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.49e-05/0.7251, allocations: 11.81 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7251, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7252, allocations: 1 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.7252, allocations: 85.03 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.7252, allocations: 0.5 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.7253, allocations: 4.906 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.826e-05/0.7254, allocations: 3.953 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001112/0.7255, allocations: 126.2 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001436/0.7256, allocations: 224.3 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.922e-05/0.7257, allocations: 6.531 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.768e-05/0.7257, allocations: 92.2 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of Backend: time 8.31e-07/0.7257, allocations: 3.938 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.7269, allocations: 283.1 kB / 1.466 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004047/0.7273, allocations: 0.5556 MB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.00552/0.7328, allocations: 1.672 MB / 1.468 GB, free: 277.8 MB / 0.8542 GB