Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject") translateModel(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.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.237/1.237, allocations: 251.5 MB / 267.4 MB, free: 11.04 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.0008493/0.0008493, allocations: 179.6 kB / 326.5 MB, free: 2.68 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.379/1.379, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0006488/0.0006488, allocations: 97.53 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.0002739, allocations: 11.72 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.153, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject): time 0.0006544/0.1537, allocations: 270.5 kB / 0.897 GB, free: 67.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.1549, allocations: 1.134 MB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.478e-05/0.155, allocations: 4 kB / 0.8981 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.406e-05/0.155, allocations: 11.94 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.1551, allocations: 0 / 0.8981 GB, free: 66.73 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.1555, allocations: 139.7 kB / 0.8983 GB, free: 66.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.106e-05/0.1555, allocations: 19.97 kB / 0.8983 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.1556, allocations: 4 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.708e-05/0.1556, allocations: 4 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.819e-05/0.1556, allocations: 7.984 kB / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1556, allocations: 0 / 0.8983 GB, free: 66.56 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.1559, allocations: 179.7 kB / 0.8985 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.156, allocations: 15.92 kB / 0.8985 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.156, allocations: 8 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.1562, allocations: 183.7 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1562, allocations: 0 / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1562, allocations: 4 kB / 0.8987 GB, free: 66.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.1562, allocations: 0 / 0.8987 GB, free: 66.18 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.0002476/0.1565, allocations: 367.3 kB / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1565, allocations: 8.031 kB / 0.899 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.506e-05/0.1566, allocations: 4.875 kB / 0.899 GB, free: 65.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.452e-05/0.1567, allocations: 164.4 kB / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1567, allocations: 4.375 kB / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1567, allocations: 384 / 0.8992 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.1568, allocations: 49.78 kB / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.1568, allocations: 0 / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.1569, allocations: 0 / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.1569, allocations: 4 kB / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.586e-05/0.1569, allocations: 4 kB / 0.8993 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.1571, allocations: 157.7 kB / 0.8994 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.405e-05/0.1571, allocations: 38.53 kB / 0.8994 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.1572, allocations: 12.92 kB / 0.8995 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.1572, allocations: 7.984 kB / 0.8995 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.1572, allocations: 38.48 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.1572, allocations: 0 / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001533/0.1574, allocations: 53.62 kB / 0.8996 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/0.1574, allocations: 59.47 kB / 0.8996 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.189e-05/0.1574, allocations: 101.8 kB / 0.8997 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-06/0.1575, allocations: 25.7 kB / 0.8997 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.077e-05/0.1575, allocations: 80.14 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.938e-05/0.1575, allocations: 11.84 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.1575, allocations: 9.719 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.358e-05/0.1576, allocations: 314.8 kB / 0.9001 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.513e-05/0.1576, allocations: 8.109 kB / 0.9001 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.1576, allocations: 12 kB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.1576, allocations: 20.84 kB / 0.9002 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1576, allocations: 0 / 0.9002 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.296e-05/0.1577, allocations: 49.69 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.1577, allocations: 7.938 kB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1577, allocations: 3.938 kB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1578, allocations: 4 kB / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.1578, allocations: 0 / 0.9002 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.1578, allocations: 4.094 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.29e-05/0.1578, allocations: 4 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1578, allocations: 3.984 kB / 0.9002 GB, free: 64.36 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.252e-05/0.1578, allocations: 113.8 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.1579, allocations: 7.844 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.674e-06/0.1579, allocations: 7.125 kB / 0.9004 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.1579, allocations: 0 / 0.9004 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1579, allocations: 0 / 0.9004 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.1579, allocations: 77.11 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.1579, allocations: 4 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.158, allocations: 4 kB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.105e-05/0.158, allocations: 3.984 kB / 0.9005 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.43e-05/0.1581, allocations: 125 kB / 0.9006 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 8.03e-05/0.1582, allocations: 226.7 kB / 0.9008 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.084e-05/0.1582, allocations: 8.047 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.331e-05/0.1582, allocations: 83.28 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of Backend: time 3.4e-07/0.1582, allocations: 0 / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006941/0.1589, allocations: 298.2 kB / 0.9012 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0002396/0.1592, allocations: 0.5547 MB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.003015/0.1622, allocations: 1.652 MB / 0.9033 GB, free: 61.2 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)