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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.549/1.549, allocations: 292.3 MB / 308.1 MB, free: 4.266 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.001213/0.001213, allocations: 189.3 kB / 376.9 MB, free: 1.777 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.423/1.423, allocations: 205 MB / 0.6353 GB, free: 9.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009618/0.0009619, allocations: 96.19 kB / 0.748 GB, free: 61.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009802/0.0009803, allocations: 55.92 kB / 0.8704 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2468, allocations: 114.5 MB / 0.9822 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.001963/0.2488, allocations: 0.6065 MB / 0.9828 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.2503, allocations: 1.128 MB / 0.9839 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.654e-05/0.2504, allocations: 0 / 0.9839 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.2505, allocations: 7.984 kB / 0.9839 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.2506, allocations: 0 / 0.9839 GB, free: 8.578 MB / 0.7136 GB [/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.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.2511, allocations: 135.7 kB / 0.9841 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.066e-05/0.2511, allocations: 19.98 kB / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.2512, allocations: 0 / 0.9841 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.22e-05/0.2512, allocations: 11.98 kB / 0.9841 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.2513, allocations: 11.92 kB / 0.9841 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.2513, allocations: 4 kB / 0.9841 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.2516, allocations: 179.7 kB / 0.9843 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.2517, allocations: 0 / 0.9843 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.2517, allocations: 7.984 kB / 0.9843 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.252, allocations: 191.6 kB / 0.9845 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.252, allocations: 4 kB / 0.9845 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2521, allocations: 3.938 kB / 0.9845 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2521, allocations: 4 kB / 0.9845 GB, free: 8.016 MB / 0.7136 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.0003862/0.2525, allocations: 367.5 kB / 0.9848 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2525, allocations: 8.031 kB / 0.9848 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.2525, allocations: 8.844 kB / 0.9848 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.2527, allocations: 164.4 kB / 0.985 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2527, allocations: 384 / 0.985 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.2527, allocations: 384 / 0.985 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.2528, allocations: 45.8 kB / 0.9851 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.2529, allocations: 8 kB / 0.9851 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2529, allocations: 0 / 0.9851 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.2529, allocations: 0 / 0.9851 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.869e-05/0.2529, allocations: 11.94 kB / 0.9851 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.2531, allocations: 154 kB / 0.9852 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.152e-05/0.2532, allocations: 26.59 kB / 0.9852 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.2532, allocations: 12.92 kB / 0.9853 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.208e-06/0.2532, allocations: 4 kB / 0.9853 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2532, allocations: 38.5 kB / 0.9853 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2532, allocations: 0 / 0.9853 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001653/0.2534, allocations: 65.59 kB / 0.9854 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.2535, allocations: 55.34 kB / 0.9854 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.975e-05/0.2535, allocations: 97.8 kB / 0.9855 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.2535, allocations: 29.7 kB / 0.9855 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.2536, allocations: 88.38 kB / 0.9856 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.2536, allocations: 3.906 kB / 0.9856 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.2536, allocations: 13.72 kB / 0.9856 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/0.2537, allocations: 310.8 kB / 0.9859 GB, free: 6.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.2538, allocations: 19.98 kB / 0.9859 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.461e-05/0.2538, allocations: 4 kB / 0.986 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.139e-05/0.2538, allocations: 20.84 kB / 0.986 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.2538, allocations: 0 / 0.986 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.947e-05/0.2539, allocations: 61.62 kB / 0.986 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.254, allocations: 8 kB / 0.986 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.254, allocations: 0 / 0.986 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.254, allocations: 0 / 0.986 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.254, allocations: 0 / 0.986 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.254, allocations: 0 / 0.986 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.254, allocations: 0 / 0.986 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.254, allocations: 7.984 kB / 0.986 GB, free: 6.191 MB / 0.7136 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.371e-05/0.2541, allocations: 113.8 kB / 0.9862 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.2541, allocations: 11.97 kB / 0.9862 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.686e-06/0.2541, allocations: 3.125 kB / 0.9862 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.2542, allocations: 3.938 kB / 0.9862 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2542, allocations: 0 / 0.9862 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2542, allocations: 3.984 kB / 0.9862 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.2543, allocations: 157.6 kB / 0.9863 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2543, allocations: 0 / 0.9863 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-06/0.2543, allocations: 3.938 kB / 0.9863 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2543, allocations: 0 / 0.9863 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.2543, allocations: 3.984 kB / 0.9863 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2543, allocations: 4 kB / 0.9863 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2543, allocations: 4 kB / 0.9863 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.2547, allocations: 0.6279 MB / 0.987 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.767e-05/0.2547, allocations: 77.11 kB / 0.987 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.2547, allocations: 0 / 0.987 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.2548, allocations: 7.984 kB / 0.987 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.2548, allocations: 11.91 kB / 0.987 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2548, allocations: 4 kB / 0.9871 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.348e-05/0.2549, allocations: 75.28 kB / 0.9871 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2549, allocations: 0 / 0.9871 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000357/0.2552, allocations: 59.92 kB / 0.9872 GB, free: 4.895 MB / 0.7136 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.000576/0.2558, allocations: 309.1 kB / 0.9875 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.429e-05/0.2559, allocations: 15.98 kB / 0.9875 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2559, allocations: 0 / 0.9875 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.2559, allocations: 11.98 kB / 0.9875 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.2561, allocations: 10.97 kB / 0.9875 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.2565, allocations: 219.6 kB / 0.9877 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.2567, allocations: 0.6808 MB / 0.9884 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001405/0.2569, allocations: 15.98 kB / 0.9884 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.2569, allocations: 19.42 kB / 0.9884 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.2569, allocations: 0 / 0.9884 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.003431/0.2603, allocations: 1.545 MB / 0.9899 GB, free: 2.047 MB / 0.7136 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)