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.556/1.556, allocations: 288.4 MB / 304.3 MB, free: 8.156 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.0009978/0.000998, allocations: 183 kB / 372.9 MB, free: 10.15 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.418/1.418, allocations: 205.4 MB / 0.6316 GB, free: 9.891 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.0009208/0.0009208, allocations: 98.3 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004204/0.0004204, allocations: 11.19 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.216, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0007106/0.2168, allocations: 266.2 kB / 0.981 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.218, allocations: 1.071 MB / 0.982 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.218, allocations: 4 kB / 0.982 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.721e-05/0.2181, allocations: 4 kB / 0.9821 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.497e-05/0.2181, allocations: 4 kB / 0.9821 GB, free: 25.99 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.0003567/0.2185, allocations: 143.7 kB / 0.9822 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.999e-05/0.2185, allocations: 7.938 kB / 0.9822 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.834e-05/0.2186, allocations: 7.984 kB / 0.9822 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.023e-05/0.2186, allocations: 4 kB / 0.9822 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.2187, allocations: 7.984 kB / 0.9822 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.2187, allocations: 4 kB / 0.9822 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.2189, allocations: 171.7 kB / 0.9824 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.682e-05/0.219, allocations: 3.984 kB / 0.9824 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.735e-05/0.219, allocations: 29.7 kB / 0.9824 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.2192, allocations: 139.8 kB / 0.9826 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2192, allocations: 0 / 0.9826 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2192, allocations: 0 / 0.9826 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2192, allocations: 0 / 0.9826 GB, free: 25.47 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.000252/0.2195, allocations: 359.5 kB / 0.9829 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2195, allocations: 8.031 kB / 0.9829 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.2195, allocations: 4.938 kB / 0.9829 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.116e-05/0.2196, allocations: 172.2 kB / 0.9831 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.2196, allocations: 384 / 0.9831 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.2197, allocations: 4.359 kB / 0.9831 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.2198, allocations: 49.81 kB / 0.9831 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.2198, allocations: 7.969 kB / 0.9831 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2198, allocations: 0 / 0.9831 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.2198, allocations: 0 / 0.9831 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.2198, allocations: 8 kB / 0.9831 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001251/0.22, allocations: 154 kB / 0.9833 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.684e-05/0.22, allocations: 38.53 kB / 0.9833 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.2201, allocations: 8.922 kB / 0.9833 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.124e-06/0.2201, allocations: 0 / 0.9833 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.2201, allocations: 34.5 kB / 0.9834 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2201, allocations: 3.938 kB / 0.9834 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001325/0.2202, allocations: 61.67 kB / 0.9834 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.49e-05/0.2203, allocations: 55.53 kB / 0.9835 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.148e-05/0.2203, allocations: 97.8 kB / 0.9836 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.2203, allocations: 25.7 kB / 0.9836 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.326e-05/0.2203, allocations: 92.02 kB / 0.9837 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.2204, allocations: 7.891 kB / 0.9837 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.2204, allocations: 3.984 kB / 0.9837 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.623e-05/0.2204, allocations: 310.8 kB / 0.984 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.5e-05/0.2205, allocations: 8.125 kB / 0.984 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.2205, allocations: 11.98 kB / 0.984 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.2205, allocations: 20.86 kB / 0.984 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2205, allocations: 0 / 0.984 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.172e-05/0.2206, allocations: 49.67 kB / 0.9841 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2206, allocations: 13.66 kB / 0.9841 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2206, allocations: 0 / 0.9841 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2206, allocations: 0 / 0.9841 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.644e-06/0.2206, allocations: 0 / 0.9841 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2206, allocations: 12.02 kB / 0.9841 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.2207, allocations: 0 / 0.9841 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.2207, allocations: 8 kB / 0.9841 GB, free: 23.66 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 4.884e-05/0.2207, allocations: 109.8 kB / 0.9842 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.2207, allocations: 11.94 kB / 0.9842 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.568e-06/0.2208, allocations: 7.109 kB / 0.9842 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2208, allocations: 0 / 0.9842 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.2208, allocations: 0 / 0.9842 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.2208, allocations: 77.11 kB / 0.9843 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.2208, allocations: 4 kB / 0.9843 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.2209, allocations: 4 kB / 0.9843 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.2209, allocations: 0 / 0.9843 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.634e-05/0.221, allocations: 125 kB / 0.9844 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.734e-05/0.2211, allocations: 234.6 kB / 0.9847 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.366e-05/0.2211, allocations: 11.98 kB / 0.9847 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.62e-05/0.2211, allocations: 83.34 kB / 0.9847 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of Backend: time 1.8e-07/0.2211, allocations: 0 / 0.9847 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007865/0.2219, allocations: 290.2 kB / 0.985 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of SimCode: time 0.000277/0.2222, allocations: 0.5469 MB / 0.9856 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of Templates: time 0.003371/0.2256, allocations: 1.668 MB / 0.9872 GB, free: 20.5 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)