Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.3/1.3, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000991/0.0009908, allocations: 171.5 kB / 326.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205 MB / 0.5767 GB, free: 21.04 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007762/0.0007762, allocations: 92.03 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000271/0.000271, allocations: 5.812 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1534, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0006986/0.1542, allocations: 270.5 kB / 0.897 GB, free: 67.94 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1554, allocations: 1.13 MB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.304e-05/0.1554, allocations: 3.938 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.358e-05/0.1555, allocations: 8 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.647e-05/0.1556, allocations: 4 kB / 0.8981 GB, free: 66.79 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.0003763/0.156, allocations: 139.7 kB / 0.8983 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.214e-05/0.156, allocations: 16 kB / 0.8983 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.156, allocations: 3.984 kB / 0.8983 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.674e-05/0.1561, allocations: 7.984 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.971e-05/0.1561, allocations: 4 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.1561, allocations: 4 kB / 0.8983 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.1564, allocations: 183.6 kB / 0.8985 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.1565, allocations: 7.984 kB / 0.8985 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.1565, allocations: 8 kB / 0.8985 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.1567, allocations: 187.7 kB / 0.8987 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1567, allocations: 4 kB / 0.8987 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1567, allocations: 0 / 0.8987 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.1567, allocations: 3.938 kB / 0.8987 GB, free: 66.23 MB / 0.6042 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.0002463/0.157, allocations: 371.3 kB / 0.899 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.157, allocations: 8.031 kB / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.1571, allocations: 0.9375 kB / 0.899 GB, free: 65.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.807e-05/0.1571, allocations: 168.4 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-06/0.1572, allocations: 384 / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.1572, allocations: 384 / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.834e-05/0.1573, allocations: 45.8 kB / 0.8993 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1573, allocations: 3.938 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.1573, allocations: 4 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.1573, allocations: 4 kB / 0.8993 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.1574, allocations: 4 kB / 0.8993 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001164/0.1575, allocations: 161.7 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.629e-05/0.1575, allocations: 34.53 kB / 0.8995 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/0.1576, allocations: 16.92 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.1576, allocations: 3.984 kB / 0.8995 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.1576, allocations: 34.5 kB / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.1576, allocations: 0 / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001374/0.1577, allocations: 57.61 kB / 0.8996 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.783e-05/0.1578, allocations: 59.53 kB / 0.8996 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.216e-05/0.1578, allocations: 93.86 kB / 0.8997 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.1578, allocations: 25.7 kB / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.169e-05/0.1578, allocations: 88.08 kB / 0.8998 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1579, allocations: 7.891 kB / 0.8998 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-05/0.1579, allocations: 9.719 kB / 0.8998 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.335e-05/0.1579, allocations: 314.8 kB / 0.9001 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.158, allocations: 4.125 kB / 0.9001 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.158, allocations: 15.98 kB / 0.9002 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.291e-05/0.158, allocations: 16.86 kB / 0.9002 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.158, allocations: 0 / 0.9002 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.504e-05/0.1581, allocations: 57.61 kB / 0.9002 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.1581, allocations: 7.938 kB / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1581, allocations: 4 kB / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.1581, allocations: 0 / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.1581, allocations: 0 / 0.9002 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1581, allocations: 8.078 kB / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.1582, allocations: 0 / 0.9002 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.1582, allocations: 4 kB / 0.9002 GB, free: 64.41 MB / 0.6042 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 4.201e-05/0.1582, allocations: 109.8 kB / 0.9004 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.1582, allocations: 11.84 kB / 0.9004 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.496e-06/0.1583, allocations: 7.109 kB / 0.9004 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1583, allocations: 0 / 0.9004 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.1583, allocations: 0 / 0.9004 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.1583, allocations: 77.11 kB / 0.9004 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.1583, allocations: 4 kB / 0.9005 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.1584, allocations: 4 kB / 0.9005 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.1584, allocations: 0 / 0.9005 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.257e-05/0.1585, allocations: 132.9 kB / 0.9006 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.646e-05/0.1586, allocations: 222.8 kB / 0.9008 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.1e-05/0.1586, allocations: 8.047 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.3e-05/0.1586, allocations: 87.22 kB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of Backend: time 3.21e-07/0.1586, allocations: 0 / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007361/0.1594, allocations: 290.1 kB / 0.9012 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002427/0.1596, allocations: 0.5469 MB / 0.9017 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of Templates: time 0.003351/0.163, allocations: 1.688 MB / 0.9033 GB, free: 61.22 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)