Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 68.97 kB / 0.6723 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2552, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.002035/0.2573, allocations: 0.5287 MB / 0.7847 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.2589, allocations: 1.125 MB / 0.7858 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.2589, allocations: 8 kB / 0.7858 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.259, allocations: 3.938 kB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.087e-05/0.2591, allocations: 0 / 0.7858 GB, free: 11.07 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:310:3-383:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.replace' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Strings.replace'. Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.2597, allocations: 179.4 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.2597, allocations: 11.98 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.2598, allocations: 4 kB / 0.786 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.642e-05/0.2598, allocations: 11.92 kB / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.2599, allocations: 4 kB / 0.786 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.2599, allocations: 4 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.2603, allocations: 207.6 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.61e-05/0.2603, allocations: 8 kB / 0.7862 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.2604, allocations: 11.92 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.2606, allocations: 179.7 kB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2607, allocations: 0 / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2607, allocations: 0 / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2607, allocations: 0 / 0.7864 GB, free: 10.46 MB / 0.6075 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.0004216/0.2611, allocations: 367.5 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2611, allocations: 12.03 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.2612, allocations: 12.86 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.2613, allocations: 164.3 kB / 0.7869 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.2613, allocations: 4.375 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.2614, allocations: 384 / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.2615, allocations: 45.81 kB / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2615, allocations: 0 / 0.7869 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2615, allocations: 3.938 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.2615, allocations: 7.984 kB / 0.7869 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.647e-05/0.2616, allocations: 4 kB / 0.787 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.2618, allocations: 157.7 kB / 0.7871 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.702e-05/0.2618, allocations: 42.53 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.2619, allocations: 8.922 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.2619, allocations: 4 kB / 0.7872 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.2619, allocations: 34.5 kB / 0.7872 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.2619, allocations: 0 / 0.7872 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001787/0.2621, allocations: 61.67 kB / 0.7872 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.2621, allocations: 55.34 kB / 0.7873 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.162e-05/0.2622, allocations: 97.8 kB / 0.7874 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.2622, allocations: 25.7 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.2623, allocations: 84.14 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.2623, allocations: 7.906 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.2624, allocations: 17.7 kB / 0.7875 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2625, allocations: 315.1 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.2625, allocations: 4 kB / 0.7878 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.753e-05/0.2625, allocations: 11.98 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.285e-05/0.2626, allocations: 24.84 kB / 0.7879 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2626, allocations: 0 / 0.7879 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.952e-05/0.2627, allocations: 53.56 kB / 0.7879 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2627, allocations: 4 kB / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2627, allocations: 0 / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2627, allocations: 0 / 0.7879 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.506e-06/0.2627, allocations: 8.094 kB / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.2627, allocations: 0 / 0.7879 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.464e-05/0.2627, allocations: 4 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.2628, allocations: 0 / 0.7879 GB, free: 8.633 MB / 0.6075 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 7.51e-05/0.2628, allocations: 118.5 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.2629, allocations: 15.84 kB / 0.7881 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.227e-05/0.2629, allocations: 3.125 kB / 0.7881 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.2629, allocations: 4 kB / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2629, allocations: 0 / 0.7881 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.2629, allocations: 4 kB / 0.7881 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.263, allocations: 149.7 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.263, allocations: 0 / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-06/0.2631, allocations: 7.938 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-06/0.2631, allocations: 0 / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.2631, allocations: 0 / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.2631, allocations: 0 / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2631, allocations: 0 / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.2632, allocations: 92.89 kB / 0.7883 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.2632, allocations: 81.05 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.2633, allocations: 0 / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-05/0.2633, allocations: 4 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.485e-05/0.2634, allocations: 3.984 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.2634, allocations: 4 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.3e-05/0.2634, allocations: 79.28 kB / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2634, allocations: 0 / 0.7885 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002661/0.2637, allocations: 51.98 kB / 0.7885 GB, free: 7.926 MB / 0.6075 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.0006241/0.2643, allocations: 311 kB / 0.7888 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.2644, allocations: 15.98 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2644, allocations: 0 / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.412e-05/0.2645, allocations: 15.92 kB / 0.7888 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.2646, allocations: 12.06 kB / 0.7889 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.265, allocations: 108.8 kB / 0.789 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.2652, allocations: 0.6728 MB / 0.7896 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.2653, allocations: 19.97 kB / 0.7896 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.2654, allocations: 19.42 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2654, allocations: 0 / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of Templates: time 0.003954/0.2694, allocations: 1.552 MB / 0.7912 GB, free: 5.242 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)