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.009314/0.009314, allocations: 108.2 kB / 15.06 MB, free: 5.562 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.001167/0.001166, allocations: 184.4 kB / 15.95 MB, free: 5.523 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 1.984/1.984, allocations: 194.6 MB / 211.3 MB, free: 11.3 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.365/2.365, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004666, allocations: 8 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5475/0.548, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0006779/0.5487, allocations: 264.8 kB / 0.6836 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.5502, allocations: 1.051 MB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.5503, allocations: 0 / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 9.118e-05/0.5504, allocations: 6.188 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 3.996e-05/0.5504, allocations: 0 / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.5509, allocations: 143 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.452e-05/0.551, allocations: 15.53 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.551, allocations: 2.203 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 2.487e-05/0.5511, allocations: 10.47 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.5511, allocations: 8.047 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.5512, allocations: 0.9375 kB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.5515, allocations: 138.7 kB / 0.6849 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.5516, allocations: 3.797 kB / 0.6849 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.5516, allocations: 30.98 kB / 0.685 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.5519, allocations: 138.2 kB / 0.6851 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.5519, allocations: 4 kB / 0.6851 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.227e-06/0.5519, allocations: 0 / 0.6851 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.56e-06/0.5519, allocations: 1.094 kB / 0.6851 GB, free: 15.66 MB / 0.5261 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.0002807/0.5522, allocations: 358 kB / 0.6854 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.5523, allocations: 9.219 kB / 0.6855 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.5523, allocations: 5.016 kB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.951e-05/0.5524, allocations: 170.1 kB / 0.6856 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.5524, allocations: 1.031 kB / 0.6856 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.5525, allocations: 1 kB / 0.6856 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.5526, allocations: 43.64 kB / 0.6857 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.973e-06/0.5526, allocations: 3.938 kB / 0.6857 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.5526, allocations: 1.125 kB / 0.6857 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.5527, allocations: 2.656 kB / 0.6857 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.521e-05/0.5527, allocations: 11.73 kB / 0.6857 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.5529, allocations: 157 kB / 0.6858 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.764e-05/0.5529, allocations: 28.22 kB / 0.6859 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.083e-06/0.553, allocations: 5.375 kB / 0.6859 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.553, allocations: 30.56 kB / 0.6859 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.608e-06/0.553, allocations: 1.125 kB / 0.6859 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001773/0.5532, allocations: 61.55 kB / 0.686 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.5532, allocations: 51.41 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.8e-05/0.5533, allocations: 93.53 kB / 0.6861 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.5533, allocations: 27.67 kB / 0.6861 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.5533, allocations: 84.14 kB / 0.6862 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.5534, allocations: 15.48 kB / 0.6862 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.5534, allocations: 0 / 0.6862 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.126e-05/0.5534, allocations: 316.7 kB / 0.6865 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.5535, allocations: 7.625 kB / 0.6865 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.235e-05/0.5535, allocations: 7.453 kB / 0.6865 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.322e-05/0.5536, allocations: 7.406 kB / 0.6865 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5536, allocations: 0 / 0.6865 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001084/0.5537, allocations: 54.44 kB / 0.6866 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.5537, allocations: 5.594 kB / 0.6866 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.722e-06/0.5537, allocations: 1.469 kB / 0.6866 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5538, allocations: 3.938 kB / 0.6866 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.18e-06/0.5538, allocations: 0.5156 kB / 0.6866 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.812e-06/0.5538, allocations: 1.125 kB / 0.6866 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.5538, allocations: 8.516 kB / 0.6866 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.5538, allocations: 2.688 kB / 0.6866 GB, free: 14.07 MB / 0.5261 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.065e-05/0.5539, allocations: 113.7 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.5539, allocations: 5.562 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.143e-05/0.5539, allocations: 3.688 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/0.554, allocations: 3.594 kB / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.234e-06/0.554, allocations: 0 / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.429e-06/0.554, allocations: 0 / 0.6867 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.96e-05/0.5541, allocations: 163.2 kB / 0.6869 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-06/0.5541, allocations: 3.938 kB / 0.6869 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-06/0.5541, allocations: 1.375 kB / 0.6869 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.5541, allocations: 4.547 kB / 0.6869 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.401e-06/0.5542, allocations: 2.203 kB / 0.6869 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.369e-06/0.5542, allocations: 4 kB / 0.6869 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.749e-06/0.5542, allocations: 1.531 kB / 0.6869 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.5543, allocations: 84.17 kB / 0.687 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.5543, allocations: 83.33 kB / 0.6871 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.5544, allocations: 0.5625 kB / 0.6871 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/0.5545, allocations: 2.422 kB / 0.6871 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.5545, allocations: 3.578 kB / 0.6871 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.5545, allocations: 6.844 kB / 0.6871 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.593e-05/0.5545, allocations: 78.48 kB / 0.6872 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.66e-07/0.5546, allocations: 0 / 0.6872 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000398/0.555, allocations: 59.25 kB / 0.6872 GB, free: 13.46 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0007861/0.5558, allocations: 309.5 kB / 0.6875 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.5559, allocations: 20.41 kB / 0.6875 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.544e-06/0.5559, allocations: 0 / 0.6875 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.5559, allocations: 9.062 kB / 0.6875 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.5561, allocations: 5.5 kB / 0.6875 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.5564, allocations: 104.9 kB / 0.6876 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.5566, allocations: 0.6816 MB / 0.6883 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.5567, allocations: 17.12 kB / 0.6883 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.991e-05/0.5567, allocations: 19.02 kB / 0.6883 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of SimCode: time 1.431e-06/0.5568, allocations: 3.938 kB / 0.6883 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.005169/0.5619, allocations: 1.508 MB / 0.6898 GB, free: 12.29 MB / 0.5261 GB