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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.212/4.212, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.359e-05/2.357e-05, allocations: 3.125 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2476, allocations: 98.73 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.487, allocations: 125.3 MB / 0.7512 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/0.4875, allocations: 83.94 kB / 0.7513 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01994/0.5074, allocations: 4.338 MB / 0.7555 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5075, allocations: 0 / 0.7555 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.5075, allocations: 4 kB / 0.7555 GB, free: 7.234 MB / 0.6355 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.0005706/0.5081, allocations: 367.2 kB / 0.7559 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.824e-05/0.5082, allocations: 12.03 kB / 0.7559 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.5082, allocations: 3.953 kB / 0.7559 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.5085, allocations: 174.9 kB / 0.7561 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.5085, allocations: 0 / 0.7561 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.5085, allocations: 4 kB / 0.7561 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.367e-05/0.5086, allocations: 8 kB / 0.7561 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.5087, allocations: 37.69 kB / 0.7561 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5087, allocations: 0 / 0.7561 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.5088, allocations: 0 / 0.7561 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.5088, allocations: 3.953 kB / 0.7561 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.509, allocations: 138.2 kB / 0.7563 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.5091, allocations: 26.59 kB / 0.7563 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.5092, allocations: 24.8 kB / 0.7563 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.5092, allocations: 0 / 0.7563 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.5093, allocations: 34.56 kB / 0.7563 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.5093, allocations: 0 / 0.7563 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002559/0.5096, allocations: 53.67 kB / 0.7564 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.17e-05/0.5096, allocations: 51.41 kB / 0.7564 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.5097, allocations: 89 kB / 0.7565 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.5098, allocations: 29.86 kB / 0.7565 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.5098, allocations: 84.14 kB / 0.7566 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.5098, allocations: 3.906 kB / 0.7566 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.5099, allocations: 0 / 0.7566 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.5101, allocations: 322.8 kB / 0.7569 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.873e-05/0.5101, allocations: 4 kB / 0.7569 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.561e-05/0.5101, allocations: 4 kB / 0.7569 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.937e-05/0.5103, allocations: 19.86 kB / 0.757 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5103, allocations: 4.062 kB / 0.757 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001723/0.5105, allocations: 57.67 kB / 0.757 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5105, allocations: 8 kB / 0.757 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/0.5105, allocations: 3.984 kB / 0.757 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.5106, allocations: 0 / 0.757 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.663e-06/0.5106, allocations: 4 kB / 0.757 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.5106, allocations: 0 / 0.757 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.5106, allocations: 0 / 0.757 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.5106, allocations: 0 / 0.757 GB, free: 5.496 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 0.0001022/0.5108, allocations: 113 kB / 0.7571 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001625/0.5109, allocations: 61.58 kB / 0.7572 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.511, allocations: 3.938 kB / 0.7572 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.5112, allocations: 70.23 kB / 0.7573 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.5112, allocations: 0 / 0.7573 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5112, allocations: 4 kB / 0.7573 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5113, allocations: 3.953 kB / 0.7573 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.5114, allocations: 134.2 kB / 0.7574 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5114, allocations: 0 / 0.7574 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.5115, allocations: 4.062 kB / 0.7574 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5115, allocations: 0 / 0.7574 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.5115, allocations: 4 kB / 0.7574 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5115, allocations: 0 / 0.7574 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5115, allocations: 0 / 0.7574 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.5117, allocations: 69.02 kB / 0.7575 GB, free: 4.961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.432e-05/0.5117, allocations: 89.09 kB / 0.7576 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.5118, allocations: 0 / 0.7576 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.954e-05/0.5119, allocations: 4.031 kB / 0.7576 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.5119, allocations: 3.938 kB / 0.7576 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.5119, allocations: 4 kB / 0.7576 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.582e-05/0.512, allocations: 83.27 kB / 0.7577 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/0.512, allocations: 0 / 0.7577 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004961/0.5125, allocations: 79.75 kB / 0.7577 GB, free: 4.684 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001365/0.5139, allocations: 0.8195 MB / 0.7585 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000174/0.5141, allocations: 67.41 kB / 0.7586 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5141, allocations: 0 / 0.7586 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.529e-05/0.5142, allocations: 33.69 kB / 0.7586 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001583/0.5144, allocations: 10.19 kB / 0.7586 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.5156, allocations: 249.5 kB / 0.7589 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.516, allocations: 0.6808 MB / 0.7595 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.213e-05/0.5161, allocations: 11.98 kB / 0.7596 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.5161, allocations: 11.44 kB / 0.7596 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of SimCode: time 1.112e-06/0.5161, allocations: 0 / 0.7596 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04606/0.5622, allocations: 2.062 MB / 0.7616 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003754/0.5627, allocations: 229.8 kB / 0.7618 GB, free: 396 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.761/3.324, allocations: 0 / 0.7618 GB, free: 396 kB / 0.6355 GB