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: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.263/1.263, allocations: 251.5 MB / 266.7 MB, free: 11.02 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.0009001/0.0009002, allocations: 179.4 kB / 325.9 MB, free: 2.688 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.363/1.363, allocations: 205 MB / 0.576 GB, free: 21.02 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.0006971/0.0006969, allocations: 86.36 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002934, allocations: 5.75 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.0006234/0.1618, allocations: 282.2 kB / 0.8965 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1629, allocations: 1.126 MB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.1629, allocations: 4 kB / 0.8976 GB, free: 66.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.163e-05/0.163, allocations: 8 kB / 0.8976 GB, free: 66.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.776e-05/0.163, allocations: 3.938 kB / 0.8976 GB, free: 66.65 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.000326/0.1634, allocations: 143.7 kB / 0.8977 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.822e-05/0.1634, allocations: 19.97 kB / 0.8978 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.271e-05/0.1634, allocations: 4 kB / 0.8978 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.682e-05/0.1635, allocations: 4 kB / 0.8978 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4e-05/0.1635, allocations: 15.92 kB / 0.8978 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1635, allocations: 4 kB / 0.8978 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.1638, allocations: 183.7 kB / 0.898 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.1638, allocations: 0 / 0.898 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.1639, allocations: 4 kB / 0.898 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.1641, allocations: 195.6 kB / 0.8982 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1641, allocations: 3.938 kB / 0.8982 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1641, allocations: 0 / 0.8982 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1641, allocations: 0 / 0.8982 GB, free: 66.08 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.0002304/0.1643, allocations: 359.6 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1644, allocations: 8.031 kB / 0.8985 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.674e-05/0.1644, allocations: 38.75 kB / 0.8985 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.1644, allocations: 0.9375 kB / 0.8985 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.411e-05/0.1645, allocations: 164.4 kB / 0.8987 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.1645, allocations: 8.297 kB / 0.8987 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.124e-06/0.1645, allocations: 4.375 kB / 0.8987 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.975e-05/0.1646, allocations: 45.62 kB / 0.8988 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.059e-06/0.1646, allocations: 3.938 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.1646, allocations: 0 / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.1647, allocations: 4 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.061e-05/0.1647, allocations: 7.984 kB / 0.8988 GB, free: 65.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001032/0.1648, allocations: 153.7 kB / 0.8989 GB, free: 65.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.978e-05/0.1649, allocations: 34.55 kB / 0.899 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.1649, allocations: 12.91 kB / 0.899 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-06/0.1649, allocations: 3.938 kB / 0.899 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.1649, allocations: 34.56 kB / 0.899 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1649, allocations: 0 / 0.899 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001308/0.1651, allocations: 61.67 kB / 0.8991 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.1651, allocations: 51.41 kB / 0.8991 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.196e-05/0.1651, allocations: 93.86 kB / 0.8992 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.1651, allocations: 25.7 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.146e-05/0.1652, allocations: 80.14 kB / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.1652, allocations: 7.906 kB / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/0.1652, allocations: 21.64 kB / 0.8993 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.431e-05/0.1652, allocations: 319.1 kB / 0.8996 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.1653, allocations: 4 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.206e-05/0.1653, allocations: 8 kB / 0.8996 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.302e-05/0.1653, allocations: 24.84 kB / 0.8997 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1653, allocations: 0 / 0.8997 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.019e-05/0.1654, allocations: 53.61 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.1654, allocations: 4 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1654, allocations: 0 / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1654, allocations: 8.078 kB / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.1654, allocations: 0 / 0.8997 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1654, allocations: 4 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.1655, allocations: 7.844 kB / 0.8997 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1655, allocations: 0 / 0.8997 GB, free: 64.23 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 3.957e-05/0.1655, allocations: 113.8 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.1655, allocations: 7.875 kB / 0.8999 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.003e-06/0.1655, allocations: 3.125 kB / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.1656, allocations: 7.984 kB / 0.8999 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.1656, allocations: 4 kB / 0.8999 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1656, allocations: 0 / 0.8999 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.592e-05/0.1656, allocations: 153.6 kB / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1656, allocations: 3.938 kB / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.1657, allocations: 0 / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.1657, allocations: 4 kB / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.1657, allocations: 0 / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.1657, allocations: 0 / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.1657, allocations: 0 / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.963e-05/0.1657, allocations: 77.12 kB / 0.9001 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.1658, allocations: 85.03 kB / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.1658, allocations: 4 kB / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.185e-05/0.1659, allocations: 7.984 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.1659, allocations: 3.938 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.1659, allocations: 4 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.503e-05/0.1659, allocations: 75.28 kB / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.1659, allocations: 0 / 0.9003 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002224/0.1661, allocations: 64.09 kB / 0.9003 GB, free: 63.52 MB / 0.6042 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.0006044/0.1667, allocations: 0.8151 MB / 0.9011 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.802e-05/0.1668, allocations: 23.92 kB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1668, allocations: 0 / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.559e-05/0.1669, allocations: 4 kB / 0.9012 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.167, allocations: 10.67 kB / 0.9012 GB, free: 62.7 MB / 0.6042 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.0004535/0.1675, allocations: 180.1 kB / 0.9013 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.552e-05/0.1676, allocations: 0.6772 MB / 0.902 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.711e-05/0.1676, allocations: 15.98 kB / 0.902 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.1677, allocations: 19.42 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of SimCode: time 3.01e-07/0.1677, allocations: 0 / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3859/0.5536, allocations: 2.278 MB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.5539, allocations: 334.3 kB / 0.9046 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.237, allocations: 0 / 0.9046 GB, free: 59.29 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)