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.0009221/0.0009221, allocations: 92.39 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001363, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.765/1.765, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005899/0.0005901, allocations: 10.25 kB / 0.6737 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3309, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0007996/0.3317, allocations: 262 kB / 0.7875 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.3333, allocations: 1.059 MB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.094e-05/0.3334, allocations: 3.938 kB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.3335, allocations: 3.984 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.981e-05/0.3335, allocations: 0 / 0.7886 GB, free: 10.59 MB / 0.6075 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.0004344/0.334, allocations: 151.6 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.165e-05/0.334, allocations: 7.984 kB / 0.7887 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.81e-05/0.3341, allocations: 3.938 kB / 0.7887 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.3341, allocations: 15.92 kB / 0.7888 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.3342, allocations: 8 kB / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.3342, allocations: 0 / 0.7888 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.3345, allocations: 163.7 kB / 0.7889 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.3346, allocations: 7.938 kB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.3346, allocations: 25.7 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.3348, allocations: 135.8 kB / 0.7891 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3348, allocations: 4 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3348, allocations: 0 / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.3348, allocations: 0 / 0.7891 GB, free: 10.07 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.0003695/0.3352, allocations: 359.3 kB / 0.7894 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.3353, allocations: 12.03 kB / 0.7894 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.3353, allocations: 0 / 0.7894 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.3355, allocations: 167 kB / 0.7896 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3355, allocations: 4 kB / 0.7896 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.3355, allocations: 0 / 0.7896 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.3356, allocations: 49.67 kB / 0.7897 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3357, allocations: 4 kB / 0.7897 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.3357, allocations: 0 / 0.7897 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.3357, allocations: 7.938 kB / 0.7897 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.662e-05/0.3357, allocations: 7.984 kB / 0.7897 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.336, allocations: 153.8 kB / 0.7898 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.3361, allocations: 34.59 kB / 0.7899 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.373e-05/0.3361, allocations: 20.84 kB / 0.7899 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.3361, allocations: 0 / 0.7899 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.3362, allocations: 34.56 kB / 0.7899 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.3362, allocations: 0 / 0.7899 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001632/0.3364, allocations: 57.62 kB / 0.79 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.3364, allocations: 51.41 kB / 0.79 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.579e-05/0.3365, allocations: 101.9 kB / 0.7901 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3365, allocations: 29.83 kB / 0.7901 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/0.3365, allocations: 84.14 kB / 0.7902 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.3366, allocations: 3.906 kB / 0.7902 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.3366, allocations: 7.938 kB / 0.7902 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3367, allocations: 314.8 kB / 0.7905 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.876e-05/0.3367, allocations: 7.984 kB / 0.7905 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.362e-05/0.3367, allocations: 4 kB / 0.7905 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.456e-05/0.3368, allocations: 8 kB / 0.7905 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3368, allocations: 4.062 kB / 0.7905 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.099e-05/0.3369, allocations: 61.59 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3369, allocations: 4 kB / 0.7906 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3369, allocations: 7.984 kB / 0.7906 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3369, allocations: 3.984 kB / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.3369, allocations: 0 / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.3369, allocations: 0 / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.313e-05/0.3369, allocations: 0 / 0.7906 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.337, allocations: 4 kB / 0.7906 GB, free: 8.281 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.876e-05/0.337, allocations: 113.8 kB / 0.7907 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.3371, allocations: 4 kB / 0.7907 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.3371, allocations: 7.109 kB / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.3371, allocations: 0 / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3371, allocations: 0 / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.3371, allocations: 0 / 0.7907 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.3372, allocations: 161.6 kB / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3372, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3372, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3372, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.3373, allocations: 0 / 0.7909 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3373, allocations: 4 kB / 0.7909 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3373, allocations: 7.938 kB / 0.7909 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.3374, allocations: 77.05 kB / 0.791 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.3374, allocations: 84.97 kB / 0.7911 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.3375, allocations: 4 kB / 0.7911 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.953e-05/0.3375, allocations: 0 / 0.7911 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.3376, allocations: 7.969 kB / 0.7911 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.3376, allocations: 8.031 kB / 0.7911 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.3376, allocations: 75.28 kB / 0.7912 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3376, allocations: 4 kB / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002756/0.3379, allocations: 55.98 kB / 0.7912 GB, free: 7.578 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005862/0.3385, allocations: 304.9 kB / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.833e-05/0.3386, allocations: 23.92 kB / 0.7915 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3386, allocations: 0 / 0.7915 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.965e-05/0.3386, allocations: 8 kB / 0.7915 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.3388, allocations: 0 / 0.7915 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.3392, allocations: 106.7 kB / 0.7916 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.3394, allocations: 0.685 MB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.383e-05/0.3395, allocations: 11.98 kB / 0.7923 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.3396, allocations: 19.42 kB / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.3396, allocations: 0 / 0.7923 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of Templates: time 0.003804/0.3434, allocations: 1.526 MB / 0.7938 GB, free: 4.934 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: