Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.612/1.612, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009142/0.0009143, allocations: 179.5 kB / 393.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007687/0.0007686, allocations: 95.02 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 11.25 kB / 0.9224 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5582/0.5585, allocations: 121.3 MB / 1.041 GB, free: 58.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00093/0.5595, allocations: 273.6 kB / 1.041 GB, free: 58.31 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.5612, allocations: 1.471 MB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.5612, allocations: 0.5312 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.756e-05/0.5613, allocations: 8 kB / 1.043 GB, free: 57.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.673e-05/0.5614, allocations: 9.312 kB / 1.043 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.5618, allocations: 134 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.756e-05/0.5618, allocations: 18.86 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.5619, allocations: 7.406 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.604e-05/0.5619, allocations: 8 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.562, allocations: 9.234 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.562, allocations: 1.125 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003253/0.5623, allocations: 166.2 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.294e-05/0.5624, allocations: 6.344 kB / 1.043 GB, free: 56.95 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.5624, allocations: 35.17 kB / 1.043 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.5627, allocations: 192 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5627, allocations: 0 / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.004e-06/0.5627, allocations: 0 / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.5627, allocations: 3.375 kB / 1.043 GB, free: 56.86 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002815/0.563, allocations: 364.9 kB / 1.043 GB, free: 56.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5631, allocations: 11.16 kB / 1.044 GB, free: 56.47 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.5631, allocations: 76.22 kB / 1.044 GB, free: 56.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.5632, allocations: 246.2 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.5633, allocations: 157.6 kB / 1.044 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.5633, allocations: 153.1 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.728e-05/0.5634, allocations: 107.2 kB / 1.044 GB, free: 55.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.5634, allocations: 76.31 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.5634, allocations: 151.5 kB / 1.044 GB, free: 55.49 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.5635, allocations: 150.6 kB / 1.045 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.961e-05/0.5635, allocations: 160.9 kB / 1.045 GB, free: 55.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.5637, allocations: 453.2 kB / 1.045 GB, free: 54.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.187e-05/0.5638, allocations: 174.7 kB / 1.045 GB, free: 54.53 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.5638, allocations: 81.08 kB / 1.045 GB, free: 54.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.5638, allocations: 78.94 kB / 1.045 GB, free: 54.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.5638, allocations: 117.1 kB / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.5638, allocations: 0 / 1.046 GB, free: 54.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.018e-05/0.5639, allocations: 32.42 kB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.564, allocations: 126.7 kB / 1.046 GB, free: 54.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.5641, allocations: 107.1 kB / 1.046 GB, free: 53.98 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.5641, allocations: 25.7 kB / 1.046 GB, free: 53.95 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.422e-05/0.5641, allocations: 81.17 kB / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.5641, allocations: 0 / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.5641, allocations: 2.156 kB / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.314e-05/0.5642, allocations: 312.2 kB / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.376e-05/0.5642, allocations: 5.516 kB / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.353e-05/0.5642, allocations: 15.14 kB / 1.046 GB, free: 53.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.034e-05/0.5643, allocations: 22.02 kB / 1.046 GB, free: 53.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5643, allocations: 2.062 kB / 1.046 GB, free: 53.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001144/0.5644, allocations: 60.48 kB / 1.046 GB, free: 53.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.5644, allocations: 3.844 kB / 1.046 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5644, allocations: 0 / 1.046 GB, free: 53.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5645, allocations: 3.938 kB / 1.046 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.5645, allocations: 2.688 kB / 1.046 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.5645, allocations: 0 / 1.046 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.5645, allocations: 7.219 kB / 1.046 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.5646, allocations: 2.125 kB / 1.046 GB, free: 53.49 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/0.5646, allocations: 184.7 kB / 1.047 GB, free: 53.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.5647, allocations: 113.3 kB / 1.047 GB, free: 53.19 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.5647, allocations: 107.3 kB / 1.047 GB, free: 53.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.5647, allocations: 184.2 kB / 1.047 GB, free: 52.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/0.5648, allocations: 180.2 kB / 1.047 GB, free: 52.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/0.5648, allocations: 184.9 kB / 1.047 GB, free: 52.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.5649, allocations: 407.6 kB / 1.048 GB, free: 52.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.565, allocations: 102.9 kB / 1.048 GB, free: 51.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.434e-05/0.565, allocations: 104.9 kB / 1.048 GB, free: 51.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.459e-05/0.565, allocations: 185.8 kB / 1.048 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.565, allocations: 184.2 kB / 1.048 GB, free: 51.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.217e-05/0.5651, allocations: 184.3 kB / 1.048 GB, free: 51.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.132e-05/0.5651, allocations: 177.7 kB / 1.049 GB, free: 51.13 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.901e-05/0.5651, allocations: 306.7 kB / 1.049 GB, free: 50.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.5652, allocations: 190 kB / 1.049 GB, free: 50.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.5652, allocations: 184.2 kB / 1.049 GB, free: 50.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.806e-05/0.5653, allocations: 105 kB / 1.049 GB, free: 50.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.5653, allocations: 181.3 kB / 1.049 GB, free: 50.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.5653, allocations: 104.9 kB / 1.05 GB, free: 50.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.271e-05/0.5654, allocations: 83.84 kB / 1.05 GB, free: 49.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5654, allocations: 0 / 1.05 GB, free: 49.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003078/0.5657, allocations: 62.11 kB / 1.05 GB, free: 49.93 MB / 0.698 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006016/0.5663, allocations: 428.9 kB / 1.05 GB, free: 49.69 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.362e-05/0.5664, allocations: 8.688 kB / 1.05 GB, free: 49.69 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5664, allocations: 4.062 kB / 1.05 GB, free: 49.69 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.136e-06/0.5664, allocations: 6.234 kB / 1.05 GB, free: 49.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.5667, allocations: 0.5193 MB / 1.051 GB, free: 49.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000175/0.5669, allocations: 170 kB / 1.051 GB, free: 48.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.636e-05/0.567, allocations: 0.6782 MB / 1.051 GB, free: 48.28 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.758e-05/0.5671, allocations: 6.391 kB / 1.051 GB, free: 48.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.5671, allocations: 15.72 kB / 1.051 GB, free: 48.27 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.5671, allocations: 1 kB / 1.052 GB, free: 48.27 MB / 0.698 GB Notification: Performance of Templates: time 0.003505/0.5706, allocations: 1.499 MB / 1.053 GB, free: 48.08 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)