Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_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.1/package.mo): time 2.331/2.331, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.001402/0.001402, allocations: 187.8 kB / 329.5 MB, free: 1.168 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.307/2.307, allocations: 225.6 MB / 0.6001 GB, free: 484 kB / 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.0009868/0.0009866, allocations: 102.2 kB / 0.7074 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004727, allocations: 12 kB / 0.8242 GB, free: 124.8 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2232, allocations: 109.1 MB / 0.9308 GB, free: 24.87 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0008834/0.2241, allocations: 257.3 kB / 0.931 GB, free: 24.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.226, allocations: 1.062 MB / 0.9321 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.2261, allocations: 0 / 0.9321 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.2262, allocations: 4 kB / 0.9321 GB, free: 23.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.156e-05/0.2263, allocations: 3.938 kB / 0.9321 GB, free: 23.54 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.0006335/0.2269, allocations: 147.6 kB / 0.9322 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.447e-05/0.227, allocations: 11.98 kB / 0.9322 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.639e-05/0.227, allocations: 4 kB / 0.9322 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.619e-05/0.2271, allocations: 7.984 kB / 0.9322 GB, free: 23.38 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.231e-05/0.2272, allocations: 15.98 kB / 0.9322 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.2272, allocations: 0 / 0.9322 GB, free: 23.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004714/0.2277, allocations: 163.7 kB / 0.9324 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.2277, allocations: 3.984 kB / 0.9324 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.2278, allocations: 29.64 kB / 0.9324 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000276/0.228, allocations: 131.8 kB / 0.9326 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.2281, allocations: 0 / 0.9326 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2281, allocations: 0 / 0.9326 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.2281, allocations: 0 / 0.9326 GB, free: 23.03 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.0003724/0.2285, allocations: 371.4 kB / 0.9329 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.2285, allocations: 8.031 kB / 0.9329 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.2286, allocations: 4.938 kB / 0.9329 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.2287, allocations: 172.3 kB / 0.9331 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.2287, allocations: 4.375 kB / 0.9331 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.2288, allocations: 4.312 kB / 0.9331 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.2289, allocations: 45.81 kB / 0.9331 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2289, allocations: 4 kB / 0.9331 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.229, allocations: 4 kB / 0.9332 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.429e-05/0.229, allocations: 0 / 0.9332 GB, free: 22.34 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.884e-05/0.229, allocations: 11.98 kB / 0.9332 GB, free: 22.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.2292, allocations: 145.7 kB / 0.9333 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.693e-05/0.2293, allocations: 30.59 kB / 0.9333 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.2294, allocations: 20.84 kB / 0.9334 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.2294, allocations: 0 / 0.9334 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.2294, allocations: 38.5 kB / 0.9334 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.2294, allocations: 0 / 0.9334 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002496/0.2297, allocations: 57.69 kB / 0.9334 GB, free: 21.96 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.2297, allocations: 51.41 kB / 0.9335 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.2298, allocations: 102 kB / 0.9336 GB, free: 21.79 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.2298, allocations: 29.7 kB / 0.9336 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.014e-05/0.2299, allocations: 84.39 kB / 0.9337 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.2299, allocations: 15.83 kB / 0.9337 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.2299, allocations: 0 / 0.9337 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.142e-05/0.23, allocations: 310.8 kB / 0.934 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.23, allocations: 15.92 kB / 0.934 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.452e-05/0.2301, allocations: 4 kB / 0.934 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/0.2301, allocations: 7.984 kB / 0.934 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2301, allocations: 0 / 0.934 GB, free: 21.31 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001166/0.2303, allocations: 57.62 kB / 0.9341 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2303, allocations: 8.094 kB / 0.9341 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.2303, allocations: 0 / 0.9341 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.2303, allocations: 0 / 0.9341 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.2303, allocations: 0 / 0.9341 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.2304, allocations: 0 / 0.9341 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.2304, allocations: 4 kB / 0.9341 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.2304, allocations: 0 / 0.9341 GB, free: 21.24 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 7.023e-05/0.2305, allocations: 109.8 kB / 0.9342 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.2305, allocations: 11.83 kB / 0.9342 GB, free: 21.11 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.57e-05/0.2305, allocations: 7.125 kB / 0.9342 GB, free: 21.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/0.2306, allocations: 4 kB / 0.9342 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2306, allocations: 0 / 0.9342 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2306, allocations: 3.938 kB / 0.9342 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.2307, allocations: 153.7 kB / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2307, allocations: 0 / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-06/0.2308, allocations: 3.938 kB / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2308, allocations: 0 / 0.9344 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2308, allocations: 4 kB / 0.9344 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2308, allocations: 0 / 0.9344 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2308, allocations: 0 / 0.9344 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.2309, allocations: 85.09 kB / 0.9345 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.231, allocations: 81.05 kB / 0.9345 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.231, allocations: 0 / 0.9345 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2311, allocations: 0 / 0.9345 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.2312, allocations: 7.984 kB / 0.9346 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2312, allocations: 7.938 kB / 0.9346 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.844e-05/0.2312, allocations: 83.31 kB / 0.9346 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2312, allocations: 0 / 0.9346 GB, free: 20.59 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003712/0.2316, allocations: 55.98 kB / 0.9347 GB, free: 20.53 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.0008519/0.2325, allocations: 345.1 kB / 0.935 GB, free: 20.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.2327, allocations: 23.92 kB / 0.935 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.2327, allocations: 0 / 0.935 GB, free: 20.23 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.2327, allocations: 8 kB / 0.9351 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/0.233, allocations: 3.938 kB / 0.9351 GB, free: 20.21 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.2335, allocations: 106.7 kB / 0.9352 GB, free: 20.08 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.2337, allocations: 0.6732 MB / 0.9358 GB, free: 19.38 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.2338, allocations: 19.98 kB / 0.9358 GB, free: 19.36 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.579e-05/0.2339, allocations: 19.42 kB / 0.9359 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/0.2339, allocations: 0 / 0.9359 GB, free: 19.34 MB / 0.5886 GB Notification: Performance of Templates: time 0.005316/0.2392, allocations: 1.536 MB / 0.9374 GB, free: 17.81 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)