Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.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.215/1.215, 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.0009293/0.0009296, allocations: 188.9 kB / 330.8 MB, free: 0.4922 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 1.291/1.291, allocations: 225.7 MB / 0.6016 GB, free: 1.539 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.0007478/0.0007479, allocations: 103.5 kB / 0.709 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002763, allocations: 9.938 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 109.2 MB / 0.9328 GB, free: 6.27 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0005811/0.1374, allocations: 269.2 kB / 0.933 GB, free: 6.012 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1385, allocations: 1.478 MB / 0.9345 GB, free: 4.434 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.401e-05/0.1385, allocations: 0 / 0.9345 GB, free: 4.434 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 7.701e-05/0.1386, allocations: 11.98 kB / 0.9345 GB, free: 4.422 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.048e-05/0.1386, allocations: 0 / 0.9345 GB, free: 4.422 MB / 0.573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.139, allocations: 143.7 kB / 0.9346 GB, free: 4.281 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 3.777e-05/0.139, allocations: 11.98 kB / 0.9346 GB, free: 4.27 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.019e-05/0.139, allocations: 8 kB / 0.9346 GB, free: 4.262 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 1.744e-05/0.1391, allocations: 7.938 kB / 0.9346 GB, free: 4.254 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.73e-05/0.1391, allocations: 7.984 kB / 0.9346 GB, free: 4.246 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1391, allocations: 7.984 kB / 0.9347 GB, free: 4.238 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.1394, allocations: 163.7 kB / 0.9348 GB, free: 4.078 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.1394, allocations: 3.984 kB / 0.9348 GB, free: 4.074 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.1394, allocations: 33.64 kB / 0.9348 GB, free: 4.035 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.1396, allocations: 191.7 kB / 0.935 GB, free: 3.848 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1396, allocations: 4 kB / 0.935 GB, free: 3.844 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1396, allocations: 0 / 0.935 GB, free: 3.844 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.545e-06/0.1397, allocations: 4 kB / 0.935 GB, free: 3.84 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.0002002/0.1399, allocations: 359.5 kB / 0.9354 GB, free: 3.441 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.638e-05/0.1399, allocations: 11.98 kB / 0.9354 GB, free: 3.43 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.337e-05/0.1399, allocations: 4.938 kB / 0.9354 GB, free: 3.426 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.116e-05/0.14, allocations: 168.4 kB / 0.9356 GB, free: 3.223 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.14, allocations: 4.312 kB / 0.9356 GB, free: 3.219 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.14, allocations: 384 / 0.9356 GB, free: 3.219 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.104e-05/0.1401, allocations: 41.81 kB / 0.9356 GB, free: 3.172 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.229e-06/0.1401, allocations: 4 kB / 0.9356 GB, free: 3.168 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.1401, allocations: 4 kB / 0.9356 GB, free: 3.164 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.1401, allocations: 0 / 0.9356 GB, free: 3.164 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.106e-05/0.1402, allocations: 15.92 kB / 0.9356 GB, free: 3.148 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.1403, allocations: 153.7 kB / 0.9358 GB, free: 2.949 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/0.1403, allocations: 22.58 kB / 0.9358 GB, free: 2.918 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.1403, allocations: 16.91 kB / 0.9358 GB, free: 2.898 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.1404, allocations: 0 / 0.9358 GB, free: 2.898 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.35e-05/0.1404, allocations: 42.5 kB / 0.9358 GB, free: 2.848 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.1404, allocations: 0 / 0.9358 GB, free: 2.848 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0001161/0.1405, allocations: 53.62 kB / 0.9359 GB, free: 2.789 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.269e-05/0.1405, allocations: 59.39 kB / 0.936 GB, free: 2.719 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.57e-05/0.1406, allocations: 94.14 kB / 0.936 GB, free: 2.617 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.1406, allocations: 25.7 kB / 0.9361 GB, free: 2.586 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.102e-05/0.1406, allocations: 84.39 kB / 0.9362 GB, free: 2.5 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.1406, allocations: 15.83 kB / 0.9362 GB, free: 2.484 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.1406, allocations: 0 / 0.9362 GB, free: 2.484 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 2.899e-05/0.1407, allocations: 310.8 kB / 0.9365 GB, free: 2.172 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.1407, allocations: 7.984 kB / 0.9365 GB, free: 2.164 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.1407, allocations: 8 kB / 0.9365 GB, free: 2.156 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/0.1407, allocations: 24.84 kB / 0.9365 GB, free: 2.129 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1407, allocations: 0 / 0.9365 GB, free: 2.129 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.858e-05/0.1408, allocations: 61.53 kB / 0.9366 GB, free: 2.062 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.1408, allocations: 7.906 kB / 0.9366 GB, free: 2.055 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1408, allocations: 0 / 0.9366 GB, free: 2.055 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1408, allocations: 4 kB / 0.9366 GB, free: 2.051 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.1408, allocations: 0 / 0.9366 GB, free: 2.051 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.1408, allocations: 0 / 0.9366 GB, free: 2.051 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.094e-05/0.1409, allocations: 0 / 0.9366 GB, free: 2.051 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1409, allocations: 3.984 kB / 0.9366 GB, free: 2.047 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 3.598e-05/0.1409, allocations: 113.8 kB / 0.9367 GB, free: 1.926 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-06/0.1409, allocations: 3.969 kB / 0.9367 GB, free: 1.922 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.225e-06/0.1409, allocations: 11.12 kB / 0.9367 GB, free: 1.906 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.141, allocations: 3.938 kB / 0.9367 GB, free: 1.902 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.141, allocations: 0 / 0.9367 GB, free: 1.902 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.141, allocations: 3.938 kB / 0.9367 GB, free: 1.898 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.358e-05/0.141, allocations: 149.7 kB / 0.9368 GB, free: 1.703 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.141, allocations: 8 kB / 0.9369 GB, free: 1.695 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-07/0.141, allocations: 3.938 kB / 0.9369 GB, free: 1.691 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-06/0.141, allocations: 0 / 0.9369 GB, free: 1.691 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.141, allocations: 3.984 kB / 0.9369 GB, free: 1.688 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.1411, allocations: 0 / 0.9369 GB, free: 1.688 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1411, allocations: 4 kB / 0.9369 GB, free: 1.684 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.525e-05/0.1411, allocations: 81.05 kB / 0.9369 GB, free: 1.586 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.279e-05/0.1412, allocations: 81.05 kB / 0.937 GB, free: 1.488 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.1412, allocations: 3.984 kB / 0.937 GB, free: 1.484 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.1412, allocations: 4 kB / 0.937 GB, free: 1.48 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-06/0.1412, allocations: 0 / 0.937 GB, free: 1.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.1413, allocations: 8 kB / 0.937 GB, free: 1.473 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.406e-05/0.1413, allocations: 79.31 kB / 0.9371 GB, free: 1.395 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1413, allocations: 0 / 0.9371 GB, free: 1.395 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002287/0.1415, allocations: 55.98 kB / 0.9372 GB, free: 1.34 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.0004618/0.142, allocations: 349.3 kB / 0.9375 GB, free: 1.062 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 6.669e-05/0.1421, allocations: 23.92 kB / 0.9375 GB, free: 1.039 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1421, allocations: 0 / 0.9375 GB, free: 1.039 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.709e-05/0.1421, allocations: 15.98 kB / 0.9375 GB, free: 1.023 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.1422, allocations: 5.969 kB / 0.9375 GB, free: 1.02 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002381/0.1425, allocations: 114.7 kB / 0.9377 GB, free: 0.8789 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.681e-05/0.1425, allocations: 0.677 MB / 0.9383 GB, free: 180 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 6.885e-05/0.1426, allocations: 19.97 kB / 0.9383 GB, free: 160 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.1427, allocations: 19.42 kB / 0.9384 GB, free: 140 kB / 0.573 GB Notification: Performance of SimCode: time 2.4e-07/0.1427, allocations: 0 / 0.9384 GB, free: 140 kB / 0.573 GB Notification: Performance of Templates: time 0.003087/0.1457, allocations: 1.543 MB / 0.9399 GB, free: 14.6 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)