Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.546/2.546, allocations: 254.9 MB / 269.9 MB, free: 9.664 MB / 218.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.001369/0.001369, allocations: 192.5 kB / 329.5 MB, free: 1.164 MB / 250.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 2.375/2.375, allocations: 225.6 MB / 0.6001 GB, free: 0.5391 MB / 426.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.0009837/0.0009834, allocations: 108.7 kB / 0.7074 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006529/0.0006532, allocations: 12.19 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2068, allocations: 109.1 MB / 0.9308 GB, free: 24.91 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008195/0.2077, allocations: 265.3 kB / 0.931 GB, free: 24.66 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.2094, allocations: 1.054 MB / 0.9321 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.212e-05/0.2094, allocations: 0 / 0.9321 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.2095, allocations: 4 kB / 0.9321 GB, free: 23.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.235e-05/0.2096, allocations: 3.938 kB / 0.9321 GB, free: 23.59 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.0005756/0.2102, allocations: 151.7 kB / 0.9322 GB, free: 23.44 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.249e-05/0.2102, allocations: 11.98 kB / 0.9322 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.2103, allocations: 0 / 0.9322 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.492e-05/0.2103, allocations: 7.984 kB / 0.9322 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/0.2104, allocations: 15.94 kB / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.2104, allocations: 0 / 0.9322 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004376/0.2109, allocations: 163.7 kB / 0.9324 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.858e-05/0.2109, allocations: 0 / 0.9324 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.811e-05/0.2109, allocations: 29.7 kB / 0.9324 GB, free: 23.21 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.2112, allocations: 135.8 kB / 0.9326 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2113, allocations: 4 kB / 0.9326 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2113, allocations: 0 / 0.9326 GB, free: 23.07 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2113, allocations: 0 / 0.9326 GB, free: 23.07 MB / 0.5886 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.0003346/0.2116, allocations: 367.4 kB / 0.9329 GB, free: 22.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.2117, allocations: 8.031 kB / 0.9329 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.2117, allocations: 4.938 kB / 0.9329 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.2118, allocations: 168.3 kB / 0.9331 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2118, allocations: 384 / 0.9331 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.2119, allocations: 4.359 kB / 0.9331 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.212, allocations: 53.81 kB / 0.9331 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.212, allocations: 0 / 0.9331 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.2121, allocations: 3.984 kB / 0.9331 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.2121, allocations: 0 / 0.9331 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.361e-05/0.2121, allocations: 11.98 kB / 0.9331 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.2123, allocations: 145.7 kB / 0.9333 GB, free: 22.18 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.955e-05/0.2124, allocations: 38.53 kB / 0.9333 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.2124, allocations: 16.91 kB / 0.9333 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.2124, allocations: 0 / 0.9333 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.2125, allocations: 34.5 kB / 0.9334 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.2125, allocations: 3.938 kB / 0.9334 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000189/0.2127, allocations: 57.69 kB / 0.9334 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.2127, allocations: 51.41 kB / 0.9335 GB, free: 21.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.747e-05/0.2128, allocations: 98.12 kB / 0.9336 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.2128, allocations: 29.95 kB / 0.9336 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.2129, allocations: 88.08 kB / 0.9337 GB, free: 21.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/0.2129, allocations: 11.78 kB / 0.9337 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.2129, allocations: 0 / 0.9337 GB, free: 21.7 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.232e-05/0.213, allocations: 310.8 kB / 0.934 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.213, allocations: 11.98 kB / 0.934 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.2131, allocations: 4 kB / 0.934 GB, free: 21.38 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.687e-05/0.2131, allocations: 12 kB / 0.934 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2131, allocations: 4.062 kB / 0.934 GB, free: 21.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001085/0.2132, allocations: 53.61 kB / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2133, allocations: 4 kB / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.2133, allocations: 0 / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2133, allocations: 0 / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.2133, allocations: 0 / 0.9341 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2133, allocations: 4 kB / 0.9341 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.011e-05/0.2134, allocations: 0 / 0.9341 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.2134, allocations: 0 / 0.9341 GB, free: 21.29 MB / 0.5886 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.935e-05/0.2135, allocations: 117.9 kB / 0.9342 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.2135, allocations: 11.78 kB / 0.9342 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.497e-05/0.2135, allocations: 7.109 kB / 0.9342 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.2135, allocations: 4 kB / 0.9342 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2135, allocations: 4 kB / 0.9342 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2136, allocations: 0 / 0.9342 GB, free: 21.14 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000105/0.2137, allocations: 153.7 kB / 0.9344 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2137, allocations: 0 / 0.9344 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-06/0.2137, allocations: 3.938 kB / 0.9344 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2137, allocations: 4 kB / 0.9344 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2137, allocations: 0 / 0.9344 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2137, allocations: 4 kB / 0.9344 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2137, allocations: 0 / 0.9344 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.2139, allocations: 77.11 kB / 0.9345 GB, free: 20.83 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.2139, allocations: 81.05 kB / 0.9345 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.2139, allocations: 0 / 0.9345 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.958e-05/0.214, allocations: 4 kB / 0.9345 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.2141, allocations: 3.984 kB / 0.9345 GB, free: 20.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.2141, allocations: 8.031 kB / 0.9345 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.2141, allocations: 75.28 kB / 0.9346 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2142, allocations: 7.875 kB / 0.9346 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003674/0.2145, allocations: 59.92 kB / 0.9347 GB, free: 20.58 MB / 0.5886 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.0008393/0.2154, allocations: 350.1 kB / 0.935 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.2155, allocations: 19.98 kB / 0.935 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2156, allocations: 0 / 0.935 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.331e-05/0.2156, allocations: 11.98 kB / 0.935 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.2158, allocations: 3.938 kB / 0.9351 GB, free: 20.26 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/0.2163, allocations: 113.5 kB / 0.9352 GB, free: 20.12 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.2164, allocations: 0.677 MB / 0.9358 GB, free: 19.42 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.2165, allocations: 15.92 kB / 0.9358 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.2166, allocations: 19.42 kB / 0.9359 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of SimCode: time 1.122e-06/0.2166, allocations: 0 / 0.9359 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of Templates: time 0.005052/0.2217, allocations: 1.506 MB / 0.9373 GB, free: 17.88 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)