Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 288.4 MB / 303.4 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 184.5 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.774/1.774, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007439/0.0007439, allocations: 94.22 kB / 0.7441 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004823, allocations: 19.58 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2398, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0007616/0.2406, allocations: 258.2 kB / 0.9799 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2418, allocations: 1.059 MB / 0.9809 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.2419, allocations: 0 / 0.9809 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.242, allocations: 4 kB / 0.9809 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.242, allocations: 0 / 0.9809 GB, free: 26.36 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.0003584/0.2424, allocations: 151.7 kB / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.157e-05/0.2424, allocations: 7.938 kB / 0.981 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.2425, allocations: 7.984 kB / 0.9811 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.2425, allocations: 4 kB / 0.9811 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.2426, allocations: 7.984 kB / 0.9811 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.2426, allocations: 0 / 0.9811 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.2429, allocations: 171.7 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.541e-05/0.2429, allocations: 4 kB / 0.9812 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.2429, allocations: 25.7 kB / 0.9813 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001833/0.2431, allocations: 143.8 kB / 0.9814 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2431, allocations: 0 / 0.9814 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.166e-06/0.2432, allocations: 4 kB / 0.9814 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2432, allocations: 0 / 0.9814 GB, free: 25.84 MB / 0.6198 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.000297/0.2435, allocations: 355.4 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2435, allocations: 12.02 kB / 0.9817 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.2436, allocations: 3.984 kB / 0.9818 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.901e-05/0.2437, allocations: 167 kB / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.2437, allocations: 0 / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.2437, allocations: 0 / 0.9819 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.2438, allocations: 53.62 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2438, allocations: 0 / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2438, allocations: 3.984 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.2439, allocations: 7.984 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.619e-05/0.2439, allocations: 4 kB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.2441, allocations: 161.8 kB / 0.9821 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.375e-05/0.2441, allocations: 34.59 kB / 0.9822 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.2441, allocations: 12.92 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.2442, allocations: 11.92 kB / 0.9822 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.2442, allocations: 30.56 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.2442, allocations: 0 / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001518/0.2444, allocations: 57.67 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.2444, allocations: 51.41 kB / 0.9823 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.643e-05/0.2445, allocations: 101.9 kB / 0.9824 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.2445, allocations: 25.7 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.616e-05/0.2445, allocations: 80.14 kB / 0.9825 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.2445, allocations: 11.84 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.2445, allocations: 0 / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.2446, allocations: 322.8 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.2446, allocations: 4 kB / 0.9828 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.288e-05/0.2446, allocations: 11.94 kB / 0.9829 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.127e-05/0.2446, allocations: 8.172 kB / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2447, allocations: 4 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.389e-05/0.2447, allocations: 49.69 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2447, allocations: 8 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2448, allocations: 0 / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2448, allocations: 0 / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.2448, allocations: 0 / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.2448, allocations: 0 / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.2448, allocations: 0 / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.2448, allocations: 7.984 kB / 0.9829 GB, free: 24.05 MB / 0.6198 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 5.37e-05/0.2449, allocations: 117.8 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.2449, allocations: 4 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.556e-06/0.2449, allocations: 3.125 kB / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.2449, allocations: 0 / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2449, allocations: 0 / 0.983 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2449, allocations: 4 kB / 0.9831 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.171e-05/0.245, allocations: 153.6 kB / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.245, allocations: 3.938 kB / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.245, allocations: 0 / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.245, allocations: 0 / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.2451, allocations: 7.984 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.2451, allocations: 4 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2451, allocations: 0 / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.524e-05/0.2451, allocations: 69.12 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.2452, allocations: 92.97 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.2452, allocations: 0 / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.2453, allocations: 7.922 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.2453, allocations: 8.031 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.2453, allocations: 0 / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.928e-05/0.2453, allocations: 79.28 kB / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.71e-07/0.2454, allocations: 0 / 0.9835 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002395/0.2456, allocations: 59.92 kB / 0.9835 GB, free: 23.36 MB / 0.6198 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.0005293/0.2461, allocations: 294 kB / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.42e-05/0.2462, allocations: 23.92 kB / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2462, allocations: 0 / 0.9838 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.791e-05/0.2463, allocations: 15.97 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.2464, allocations: 5.688 kB / 0.9838 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.2468, allocations: 106.7 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.87e-05/0.2469, allocations: 0.6811 MB / 0.9846 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.835e-05/0.247, allocations: 12 kB / 0.9846 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.247, allocations: 19.42 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.247, allocations: 3.938 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.003314/0.2504, allocations: 1.528 MB / 0.9861 GB, free: 20.71 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)