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: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008642/0.0008642, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005169/0.005169, allocations: 170.3 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.503/1.503, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.000451/0.000451, allocations: 13.53 kB / 0.6744 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.174, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0006806/0.1748, allocations: 274.1 kB / 0.7883 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1763, allocations: 1.106 MB / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.399e-05/0.1763, allocations: 0 / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.288e-05/0.1764, allocations: 11.98 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.693e-05/0.1764, allocations: 0 / 0.7894 GB, free: 10.07 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.0004284/0.1769, allocations: 143.7 kB / 0.7895 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.789e-05/0.1769, allocations: 15.98 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.177, allocations: 0 / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.177, allocations: 11.94 kB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.568e-05/0.1771, allocations: 7.984 kB / 0.7895 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.1771, allocations: 0 / 0.7895 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.1775, allocations: 183.6 kB / 0.7897 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.001e-05/0.1775, allocations: 11.98 kB / 0.7897 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.1775, allocations: 41.62 kB / 0.7898 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.1778, allocations: 187.7 kB / 0.7899 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.1778, allocations: 0 / 0.7899 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1778, allocations: 0 / 0.7899 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.1778, allocations: 0 / 0.7899 GB, free: 9.469 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.0003219/0.1782, allocations: 355.6 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1782, allocations: 15.97 kB / 0.7903 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.1783, allocations: 30.75 kB / 0.7903 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.404e-05/0.1783, allocations: 4.844 kB / 0.7903 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1784, allocations: 172.7 kB / 0.7905 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.1784, allocations: 384 / 0.7905 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.1784, allocations: 384 / 0.7905 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.1785, allocations: 41.62 kB / 0.7905 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-06/0.1786, allocations: 0 / 0.7905 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1786, allocations: 4 kB / 0.7905 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.1786, allocations: 0 / 0.7905 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.618e-05/0.1786, allocations: 11.92 kB / 0.7906 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/0.1788, allocations: 161.7 kB / 0.7907 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.357e-05/0.1788, allocations: 26.56 kB / 0.7907 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.1789, allocations: 20.91 kB / 0.7908 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.1789, allocations: 3.938 kB / 0.7908 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1789, allocations: 30.56 kB / 0.7908 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1789, allocations: 0 / 0.7908 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001435/0.1791, allocations: 61.72 kB / 0.7908 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.1791, allocations: 59.41 kB / 0.7909 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.455e-05/0.1792, allocations: 97.84 kB / 0.791 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1792, allocations: 25.7 kB / 0.791 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.1792, allocations: 84.14 kB / 0.7911 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.1793, allocations: 3.906 kB / 0.7911 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.1793, allocations: 9.719 kB / 0.7911 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1794, allocations: 314.8 kB / 0.7914 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.1794, allocations: 16.11 kB / 0.7914 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.23e-05/0.1794, allocations: 4 kB / 0.7914 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/0.1795, allocations: 20.84 kB / 0.7915 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1795, allocations: 0 / 0.7915 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.675e-05/0.1796, allocations: 57.56 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1796, allocations: 8 kB / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1796, allocations: 0 / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.1796, allocations: 0 / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1796, allocations: 0 / 0.7915 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.1796, allocations: 8.031 kB / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.592e-05/0.1797, allocations: 0 / 0.7915 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.1797, allocations: 11.92 kB / 0.7915 GB, free: 7.609 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.031e-05/0.1798, allocations: 106.5 kB / 0.7916 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.1798, allocations: 7.938 kB / 0.7916 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.432e-05/0.1798, allocations: 7.125 kB / 0.7917 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.1798, allocations: 0 / 0.7917 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1798, allocations: 0 / 0.7917 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1798, allocations: 4 kB / 0.7917 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.1799, allocations: 161.7 kB / 0.7918 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1799, allocations: 3.938 kB / 0.7918 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.1799, allocations: 0 / 0.7918 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.18, allocations: 0 / 0.7918 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.18, allocations: 3.984 kB / 0.7918 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.18, allocations: 4 kB / 0.7918 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.18, allocations: 0 / 0.7918 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.999e-05/0.1801, allocations: 76.97 kB / 0.7919 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.1801, allocations: 85.08 kB / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.1801, allocations: 7.984 kB / 0.792 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.161e-05/0.1802, allocations: 0 / 0.792 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.353e-05/0.1802, allocations: 4 kB / 0.792 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.1802, allocations: 0 / 0.792 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.1803, allocations: 79.28 kB / 0.7921 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1803, allocations: 0 / 0.7921 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000258/0.1805, allocations: 59.98 kB / 0.7921 GB, free: 6.91 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 (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.0008075/0.1814, allocations: 0.8169 MB / 0.7929 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.701e-05/0.1814, allocations: 23.98 kB / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1814, allocations: 0 / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.806e-05/0.1815, allocations: 8 kB / 0.7929 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.1816, allocations: 6.797 kB / 0.793 GB, free: 6.09 MB / 0.6075 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.1821, allocations: 172.3 kB / 0.7931 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.1823, allocations: 0.6731 MB / 0.7938 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.223e-05/0.1824, allocations: 20.05 kB / 0.7938 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.1824, allocations: 19.42 kB / 0.7938 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.1824, allocations: 0 / 0.7938 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3749/0.5574, allocations: 2.27 MB / 0.796 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002147/0.5576, allocations: 322.8 kB / 0.7963 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/2.035, allocations: 0 / 0.7963 GB, free: 2.695 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_8_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)