Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.595/1.595, allocations: 297.4 MB / 312.6 MB, free: 2.918 MB / 234.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.0008848/0.0008849, allocations: 178 kB / 382.3 MB, free: 14.82 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.246/1.246, allocations: 225.7 MB / 0.6617 GB, free: 7.188 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000773/0.000773, allocations: 91.55 kB / 0.7789 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003143/0.0003143, allocations: 12 kB / 0.9059 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5244/0.5247, allocations: 119.2 MB / 1.022 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.0006827/0.5254, allocations: 267.6 kB / 1.023 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.5269, allocations: 1.474 MB / 1.024 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.711e-05/0.5269, allocations: 4.562 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.056e-05/0.527, allocations: 5.859 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.868e-05/0.527, allocations: 9.25 kB / 1.024 GB, free: 56.77 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.5274, allocations: 139.6 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.5275, allocations: 17.94 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.5275, allocations: 2.609 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.5275, allocations: 14.56 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.684e-05/0.5276, allocations: 7.688 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.5276, allocations: 1.812 kB / 1.024 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.5279, allocations: 162 kB / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.845e-05/0.528, allocations: 5.234 kB / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.528, allocations: 35.08 kB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.5283, allocations: 192.4 kB / 1.025 GB, free: 56.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.5283, allocations: 0 / 1.025 GB, free: 56.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5283, allocations: 3.906 kB / 1.025 GB, free: 56.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.5283, allocations: 1.188 kB / 1.025 GB, free: 56.59 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002406/0.5285, allocations: 355.5 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.5286, allocations: 10.89 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.5286, allocations: 3.156 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.64e-05/0.5287, allocations: 165.1 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.5287, allocations: 1.531 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.5287, allocations: 1.406 kB / 1.025 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.5288, allocations: 54.34 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.5289, allocations: 0 / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.5289, allocations: 3.688 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.5289, allocations: 2.141 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.555e-05/0.5289, allocations: 10.12 kB / 1.025 GB, free: 55.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.529, allocations: 153.2 kB / 1.025 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.39e-05/0.5291, allocations: 33.41 kB / 1.025 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.27e-05/0.5291, allocations: 12.14 kB / 1.025 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.715e-06/0.5292, allocations: 4.938 kB / 1.025 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.5292, allocations: 37.97 kB / 1.025 GB, free: 55.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5292, allocations: 0 / 1.025 GB, free: 55.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001471/0.5293, allocations: 57.5 kB / 1.025 GB, free: 55.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.065e-05/0.5294, allocations: 52.16 kB / 1.025 GB, free: 55.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.865e-05/0.5294, allocations: 98.7 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.5294, allocations: 26.95 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.591e-05/0.5295, allocations: 82.45 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.5295, allocations: 9.156 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.5295, allocations: 3.938 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.007e-05/0.5295, allocations: 314.7 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.5296, allocations: 6.156 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.5296, allocations: 12.03 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.192e-05/0.5296, allocations: 23.92 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5296, allocations: 1.25 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.027e-05/0.5297, allocations: 53.86 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.5297, allocations: 5.031 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5297, allocations: 1.188 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.5298, allocations: 0.5625 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.5298, allocations: 0.9688 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.5298, allocations: 6.203 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.258e-05/0.5298, allocations: 1.094 kB / 1.026 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.5298, allocations: 6.094 kB / 1.026 GB, free: 55.01 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 4.662e-05/0.5299, allocations: 114.2 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.5299, allocations: 11.91 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.548e-06/0.5299, allocations: 12.27 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.5299, allocations: 2.469 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.5299, allocations: 1.031 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5299, allocations: 0 / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.917e-05/0.53, allocations: 150.2 kB / 1.026 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.53, allocations: 3.031 kB / 1.026 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-06/0.53, allocations: 4.594 kB / 1.026 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.53, allocations: 0 / 1.026 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.53, allocations: 5.328 kB / 1.026 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.53, allocations: 0.5625 kB / 1.026 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.53, allocations: 0.5 kB / 1.026 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.257e-05/0.5301, allocations: 75.98 kB / 1.026 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.5302, allocations: 88.22 kB / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.5302, allocations: 0 / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-05/0.5303, allocations: 2.922 kB / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.5303, allocations: 3.812 kB / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.5303, allocations: 3.062 kB / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.819e-05/0.5303, allocations: 81.11 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5303, allocations: 3.938 kB / 1.027 GB, free: 54.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002706/0.5306, allocations: 60.59 kB / 1.027 GB, free: 54.41 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 (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 Backend phase and start with SimCode phase: time 0.0005309/0.5311, allocations: 361.3 kB / 1.027 GB, free: 54.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.185e-05/0.5312, allocations: 20.59 kB / 1.027 GB, free: 54.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5312, allocations: 0 / 1.027 GB, free: 54.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.756e-05/0.5312, allocations: 8.953 kB / 1.027 GB, free: 54.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.5314, allocations: 11.8 kB / 1.027 GB, free: 54.25 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.5317, allocations: 106.5 kB / 1.027 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.987e-05/0.5318, allocations: 0.6783 MB / 1.028 GB, free: 53.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.562e-05/0.5319, allocations: 19.56 kB / 1.028 GB, free: 53.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.5319, allocations: 20.3 kB / 1.028 GB, free: 53.43 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.5319, allocations: 0 / 1.028 GB, free: 53.43 MB / 0.698 GB Notification: Performance of Templates: time 0.003243/0.5352, allocations: 1.516 MB / 1.029 GB, free: 53.27 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)