Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004269/0.004275, allocations: 236 kB / 15.81 MB, free: 6.285 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001138/0.001138, allocations: 178.8 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.894/3.894, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.788/4.788, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005182/0.0005184, allocations: 15.28 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2328, allocations: 98.72 MB / 1.105 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.001063/0.2339, allocations: 258.1 kB / 1.105 GB, free: 41.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.2363, allocations: 1.051 MB / 1.106 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.2364, allocations: 0 / 1.106 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.2365, allocations: 4 kB / 1.106 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.279e-05/0.2366, allocations: 3.031 kB / 1.106 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007637/0.2374, allocations: 143.5 kB / 1.106 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.81e-05/0.2374, allocations: 7.938 kB / 1.106 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.2375, allocations: 7.984 kB / 1.106 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.217e-05/0.2376, allocations: 11.98 kB / 1.106 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.2376, allocations: 7.984 kB / 1.106 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.2377, allocations: 4 kB / 1.106 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005621/0.2383, allocations: 158.9 kB / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.2383, allocations: 11.97 kB / 1.106 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.2384, allocations: 25.7 kB / 1.106 GB, free: 40.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.2387, allocations: 135.8 kB / 1.106 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.2388, allocations: 8 kB / 1.106 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2388, allocations: 0 / 1.106 GB, free: 40.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2388, allocations: 0 / 1.106 GB, free: 40.22 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.0004328/0.2393, allocations: 350.1 kB / 1.107 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.2393, allocations: 8.031 kB / 1.107 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.2394, allocations: 7.844 kB / 1.107 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2395, allocations: 169.2 kB / 1.107 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.2395, allocations: 4 kB / 1.107 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.2396, allocations: 0 / 1.107 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.2398, allocations: 42.75 kB / 1.107 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2398, allocations: 0 / 1.107 GB, free: 39.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.2398, allocations: 3.953 kB / 1.107 GB, free: 39.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/0.2399, allocations: 7.5 kB / 1.107 GB, free: 39.56 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.071e-05/0.2399, allocations: 7.984 kB / 1.107 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.2402, allocations: 153.7 kB / 1.107 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.169e-05/0.2403, allocations: 26.61 kB / 1.107 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.2403, allocations: 12.91 kB / 1.107 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.2404, allocations: 3.938 kB / 1.107 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.2404, allocations: 45.41 kB / 1.107 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.345e-06/0.2404, allocations: 0 / 1.107 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002504/0.2407, allocations: 61.61 kB / 1.107 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.2407, allocations: 51.41 kB / 1.107 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.431e-05/0.2408, allocations: 99.61 kB / 1.107 GB, free: 39.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2409, allocations: 25.7 kB / 1.107 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.2409, allocations: 80.14 kB / 1.108 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.241, allocations: 12.12 kB / 1.108 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.241, allocations: 1.688 kB / 1.108 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.2411, allocations: 310.8 kB / 1.108 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.281e-05/0.2411, allocations: 7.984 kB / 1.108 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.724e-05/0.2412, allocations: 7.156 kB / 1.108 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.655e-05/0.2413, allocations: 19.98 kB / 1.108 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2413, allocations: 3.938 kB / 1.108 GB, free: 38.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001666/0.2415, allocations: 45.69 kB / 1.108 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2415, allocations: 8 kB / 1.108 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.2416, allocations: 0 / 1.108 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2416, allocations: 0 / 1.108 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-06/0.2416, allocations: 0 / 1.108 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2416, allocations: 6.453 kB / 1.108 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.2417, allocations: 0 / 1.108 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.2417, allocations: 4 kB / 1.108 GB, free: 38.47 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 8.937e-05/0.2418, allocations: 109.8 kB / 1.108 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.2418, allocations: 8.969 kB / 1.108 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.602e-05/0.2419, allocations: 3.844 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2419, allocations: 3.25 kB / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2419, allocations: 0 / 1.108 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-05/0.2419, allocations: 85.06 kB / 1.108 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/0.242, allocations: 4 kB / 1.108 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.2421, allocations: 7.984 kB / 1.108 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.2422, allocations: 3.984 kB / 1.108 GB, free: 38.22 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000138/0.2423, allocations: 124.9 kB / 1.108 GB, free: 38.09 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002071/0.2425, allocations: 226.2 kB / 1.108 GB, free: 37.86 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.494e-05/0.2426, allocations: 12.73 kB / 1.108 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.148e-05/0.2427, allocations: 83.28 kB / 1.109 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of Backend: time 7.41e-07/0.2427, allocations: 0 / 1.109 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.2443, allocations: 317.9 kB / 1.109 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004572/0.2448, allocations: 0.5469 MB / 1.109 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of Templates: time 0.007414/0.2522, allocations: 1.638 MB / 1.111 GB, free: 35.42 MB / 0.6042 GB