Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.245/1.245, allocations: 255.9 MB / 271.2 MB, free: 8.898 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.0009016/0.0009016, allocations: 189.8 kB / 330.8 MB, free: 456 kB / 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 1.3/1.3, allocations: 225.7 MB / 0.6016 GB, free: 1.617 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.0006945/0.0006945, allocations: 101.4 kB / 0.709 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002813/0.0002813, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1468, allocations: 109.2 MB / 0.9328 GB, free: 6.234 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.0005952/0.1474, allocations: 265.2 kB / 0.933 GB, free: 5.98 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1486, allocations: 1.478 MB / 0.9345 GB, free: 4.402 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.665e-05/0.1486, allocations: 0 / 0.9345 GB, free: 4.402 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 8.731e-05/0.1487, allocations: 4 kB / 0.9345 GB, free: 4.398 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.451e-05/0.1488, allocations: 4 kB / 0.9345 GB, free: 4.395 MB / 0.573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.000384/0.1492, allocations: 147.7 kB / 0.9346 GB, free: 4.25 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 3.974e-05/0.1492, allocations: 15.94 kB / 0.9346 GB, free: 4.234 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.628e-05/0.1493, allocations: 3.984 kB / 0.9346 GB, free: 4.23 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.975e-05/0.1493, allocations: 11.94 kB / 0.9346 GB, free: 4.219 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.1493, allocations: 11.92 kB / 0.9346 GB, free: 4.207 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1494, allocations: 0 / 0.9346 GB, free: 4.207 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.1496, allocations: 159.7 kB / 0.9348 GB, free: 4.051 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.773e-05/0.1497, allocations: 11.98 kB / 0.9348 GB, free: 4.039 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.916e-05/0.1497, allocations: 33.64 kB / 0.9348 GB, free: 4 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1499, allocations: 191.7 kB / 0.935 GB, free: 3.812 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.15, allocations: 0 / 0.935 GB, free: 3.812 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.283e-06/0.15, allocations: 0 / 0.935 GB, free: 3.812 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.065e-06/0.15, allocations: 0 / 0.935 GB, free: 3.812 MB / 0.573 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.0002249/0.1502, allocations: 355.6 kB / 0.9354 GB, free: 3.418 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.1502, allocations: 15.98 kB / 0.9354 GB, free: 3.402 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.1503, allocations: 4.875 kB / 0.9354 GB, free: 3.398 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.054e-05/0.1503, allocations: 164.4 kB / 0.9355 GB, free: 3.199 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.1504, allocations: 384 / 0.9355 GB, free: 3.199 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1504, allocations: 12.38 kB / 0.9356 GB, free: 3.188 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.548e-05/0.1505, allocations: 45.8 kB / 0.9356 GB, free: 3.137 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.1505, allocations: 0 / 0.9356 GB, free: 3.137 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1505, allocations: 0 / 0.9356 GB, free: 3.137 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.1505, allocations: 4 kB / 0.9356 GB, free: 3.133 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.258e-05/0.1506, allocations: 15.92 kB / 0.9356 GB, free: 3.117 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.1507, allocations: 145.7 kB / 0.9358 GB, free: 2.926 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.699e-05/0.1507, allocations: 38.59 kB / 0.9358 GB, free: 2.879 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.1507, allocations: 12.91 kB / 0.9358 GB, free: 2.863 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.1508, allocations: 0 / 0.9358 GB, free: 2.863 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.1508, allocations: 38.5 kB / 0.9358 GB, free: 2.816 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1508, allocations: 0 / 0.9358 GB, free: 2.816 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0001274/0.1509, allocations: 57.62 kB / 0.9359 GB, free: 2.754 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.514e-05/0.1509, allocations: 51.41 kB / 0.9359 GB, free: 2.691 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.282e-05/0.151, allocations: 102.2 kB / 0.936 GB, free: 2.582 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.884e-06/0.151, allocations: 25.7 kB / 0.9361 GB, free: 2.551 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.117e-05/0.151, allocations: 80.14 kB / 0.9361 GB, free: 2.469 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.151, allocations: 7.844 kB / 0.9362 GB, free: 2.461 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.151, allocations: 4 kB / 0.9362 GB, free: 2.457 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 3.637e-05/0.1511, allocations: 314.8 kB / 0.9365 GB, free: 2.141 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.1511, allocations: 7.984 kB / 0.9365 GB, free: 2.133 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.1511, allocations: 4 kB / 0.9365 GB, free: 2.129 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.1512, allocations: 29.03 kB / 0.9365 GB, free: 2.098 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.1512, allocations: 0 / 0.9365 GB, free: 2.098 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.251e-05/0.1512, allocations: 61.47 kB / 0.9366 GB, free: 2.031 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1512, allocations: 11.84 kB / 0.9366 GB, free: 2.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.1513, allocations: 0 / 0.9366 GB, free: 2.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1513, allocations: 0 / 0.9366 GB, free: 2.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.1513, allocations: 0 / 0.9366 GB, free: 2.02 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.1513, allocations: 0 / 0.9366 GB, free: 2.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.323e-05/0.1513, allocations: 7.984 kB / 0.9366 GB, free: 2.012 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1513, allocations: 32 / 0.9366 GB, free: 2.012 MB / 0.573 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.249e-05/0.1514, allocations: 118.5 kB / 0.9367 GB, free: 1.887 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-06/0.1514, allocations: 7.875 kB / 0.9367 GB, free: 1.879 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.177e-06/0.1514, allocations: 7.109 kB / 0.9367 GB, free: 1.867 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.1514, allocations: 4 kB / 0.9367 GB, free: 1.863 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1514, allocations: 0 / 0.9367 GB, free: 1.863 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1514, allocations: 0 / 0.9367 GB, free: 1.863 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.858e-05/0.1515, allocations: 153.7 kB / 0.9368 GB, free: 1.664 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1515, allocations: 0 / 0.9368 GB, free: 1.664 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.001e-06/0.1515, allocations: 3.938 kB / 0.9369 GB, free: 1.66 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1515, allocations: 4 kB / 0.9369 GB, free: 1.656 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1515, allocations: 4 kB / 0.9369 GB, free: 1.652 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1515, allocations: 3.984 kB / 0.9369 GB, free: 1.648 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1515, allocations: 3.938 kB / 0.9369 GB, free: 1.645 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.895e-05/0.1516, allocations: 73.12 kB / 0.9369 GB, free: 1.555 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.1516, allocations: 81.05 kB / 0.937 GB, free: 1.457 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.1516, allocations: 0 / 0.937 GB, free: 1.457 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.094e-05/0.1517, allocations: 8.016 kB / 0.937 GB, free: 1.449 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.1517, allocations: 4 kB / 0.937 GB, free: 1.445 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1517, allocations: 0 / 0.937 GB, free: 1.445 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.488e-05/0.1517, allocations: 79.28 kB / 0.9371 GB, free: 1.367 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1518, allocations: 0 / 0.9371 GB, free: 1.367 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002281/0.152, allocations: 59.97 kB / 0.9372 GB, free: 1.309 MB / 0.573 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.0005002/0.1525, allocations: 348 kB / 0.9375 GB, free: 1.031 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 8.049e-05/0.1526, allocations: 23.92 kB / 0.9375 GB, free: 1.008 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1526, allocations: 0 / 0.9375 GB, free: 1.008 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.598e-05/0.1526, allocations: 8 kB / 0.9375 GB, free: 1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.1527, allocations: 9.969 kB / 0.9375 GB, free: 0.9922 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.1531, allocations: 122.7 kB / 0.9376 GB, free: 0.8438 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.1532, allocations: 0.6731 MB / 0.9383 GB, free: 148 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001177/0.1534, allocations: 19.91 kB / 0.9383 GB, free: 128 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.356e-05/0.1534, allocations: 19.42 kB / 0.9383 GB, free: 108 kB / 0.573 GB Notification: Performance of SimCode: time 2.11e-07/0.1534, allocations: 4 kB / 0.9383 GB, free: 104 kB / 0.573 GB Notification: Performance of Templates: time 0.003989/0.1574, allocations: 1.506 MB / 0.9398 GB, free: 14.6 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)