Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.963/3.963, allocations: 433.4 MB / 440.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.012e-05, allocations: 4 kB / 0.5325 GB, free: 1.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6627, allocations: 98.71 MB / 0.6289 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.8595, allocations: 125.2 MB / 0.7512 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.8599, allocations: 83.94 kB / 0.7513 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01733/0.8772, allocations: 4.343 MB / 0.7555 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.74e-06/0.8773, allocations: 0 / 0.7555 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.867e-06/0.8773, allocations: 0 / 0.7555 GB, free: 13.82 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.0004429/0.8777, allocations: 370.3 kB / 0.7559 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.8778, allocations: 12.02 kB / 0.7559 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.8778, allocations: 7.953 kB / 0.7559 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.878, allocations: 171 kB / 0.7561 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.878, allocations: 4 kB / 0.7561 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.878, allocations: 0 / 0.7561 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.392e-05/0.8781, allocations: 11.98 kB / 0.7561 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.8782, allocations: 37.69 kB / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.783e-06/0.8782, allocations: 0 / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.8783, allocations: 0 / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.039e-06/0.8783, allocations: 3.953 kB / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.8785, allocations: 134.2 kB / 0.7563 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.369e-05/0.8786, allocations: 34.55 kB / 0.7563 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/0.8786, allocations: 12.91 kB / 0.7563 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.8787, allocations: 4 kB / 0.7563 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.8787, allocations: 34.56 kB / 0.7563 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.985e-06/0.8787, allocations: 0 / 0.7563 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002273/0.879, allocations: 53.67 kB / 0.7564 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.879, allocations: 51.41 kB / 0.7564 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.8791, allocations: 93.02 kB / 0.7565 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.8792, allocations: 29.7 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.8792, allocations: 84.14 kB / 0.7566 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.8793, allocations: 3.906 kB / 0.7566 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.838e-06/0.8793, allocations: 0 / 0.7566 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.8794, allocations: 318.7 kB / 0.757 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.8795, allocations: 4 kB / 0.757 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.185e-05/0.8795, allocations: 11.98 kB / 0.757 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.547e-05/0.8796, allocations: 12.19 kB / 0.757 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.303e-06/0.8796, allocations: 0 / 0.757 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001631/0.8798, allocations: 57.67 kB / 0.757 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.8798, allocations: 6.031 kB / 0.757 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.8798, allocations: 4 kB / 0.757 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.8799, allocations: 0 / 0.757 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.644e-06/0.8799, allocations: 0 / 0.757 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.508e-06/0.8799, allocations: 0 / 0.757 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.87e-05/0.8799, allocations: 0 / 0.757 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.8799, allocations: 7.984 kB / 0.757 GB, free: 12.08 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 8.837e-05/0.88, allocations: 109 kB / 0.7572 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.8801, allocations: 7.906 kB / 0.7572 GB, free: 11.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.8803, allocations: 78.11 kB / 0.7572 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.694e-06/0.8803, allocations: 4 kB / 0.7572 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.44e-06/0.8803, allocations: 0 / 0.7572 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-06/0.8803, allocations: 0 / 0.7572 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.8805, allocations: 138.2 kB / 0.7574 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.331e-06/0.8805, allocations: 4 kB / 0.7574 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.489e-06/0.8805, allocations: 7.969 kB / 0.7574 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.8805, allocations: 0 / 0.7574 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.799e-06/0.8805, allocations: 0 / 0.7574 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.78e-06/0.8806, allocations: 0 / 0.7574 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.178e-06/0.8806, allocations: 0 / 0.7574 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.8807, allocations: 69.12 kB / 0.7574 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.8808, allocations: 85.05 kB / 0.7575 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.8808, allocations: 0 / 0.7575 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.253e-05/0.8809, allocations: 11.97 kB / 0.7575 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.8809, allocations: 0 / 0.7575 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.8809, allocations: 4 kB / 0.7575 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.401e-05/0.881, allocations: 83.27 kB / 0.7576 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.72e-07/0.881, allocations: 0 / 0.7576 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004193/0.8815, allocations: 75.86 kB / 0.7577 GB, free: 11.32 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.0008572/0.8823, allocations: 317.5 kB / 0.758 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.8825, allocations: 63.41 kB / 0.7581 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8825, allocations: 0 / 0.7581 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-05/0.8825, allocations: 49.69 kB / 0.7581 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.8827, allocations: 2.25 kB / 0.7581 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007328/0.8834, allocations: 173.2 kB / 0.7583 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.8838, allocations: 0.6806 MB / 0.7589 GB, free: 10 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.83e-05/0.8839, allocations: 4 kB / 0.7589 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.499e-05/0.8839, allocations: 7.438 kB / 0.759 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of SimCode: time 1.501e-06/0.8839, allocations: 8.062 kB / 0.759 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.00514/0.8891, allocations: 1.658 MB / 0.7606 GB, free: 8.328 MB / 0.6355 GB