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.001294/0.001294, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001477/0.001477, allocations: 190.5 kB / 16.14 MB, free: 6.707 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.208/1.208, allocations: 205.1 MB / 222 MB, free: 4.984 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.49/1.49, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001577/0.001577, allocations: 68.95 kB / 0.6709 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.165, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.001608/0.1667, allocations: 0.6026 MB / 0.7834 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1679, allocations: 1.125 MB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.265e-05/0.168, allocations: 0 / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.068e-05/0.168, allocations: 8 kB / 0.7845 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.598e-05/0.1681, allocations: 4 kB / 0.7845 GB, free: 12.18 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.0003548/0.1685, allocations: 147.6 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.362e-05/0.1685, allocations: 19.97 kB / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.027e-05/0.1685, allocations: 0 / 0.7847 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.987e-05/0.1686, allocations: 7.984 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.419e-05/0.1686, allocations: 8 kB / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.1686, allocations: 0 / 0.7847 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.1689, allocations: 183.6 kB / 0.7849 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.169, allocations: 11.94 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.169, allocations: 8 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.1693, allocations: 191.6 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1693, allocations: 0 / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.51e-07/0.1693, allocations: 0 / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.845e-06/0.1693, allocations: 0 / 0.7851 GB, free: 11.62 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.0003012/0.1696, allocations: 367.5 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.1696, allocations: 12.03 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.737e-05/0.1696, allocations: 30.75 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.1697, allocations: 8.844 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.571e-05/0.1698, allocations: 164.7 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-06/0.1698, allocations: 4.375 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-06/0.1698, allocations: 384 / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.393e-05/0.1699, allocations: 53.55 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.93e-06/0.1699, allocations: 0 / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1699, allocations: 4 kB / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.17, allocations: 0 / 0.7857 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.531e-05/0.17, allocations: 7.938 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.1701, allocations: 157.6 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/0.1702, allocations: 34.56 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.023e-05/0.1702, allocations: 12.92 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.1702, allocations: 3.938 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.1703, allocations: 30.56 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.1703, allocations: 0 / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001378/0.1704, allocations: 61.61 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.1704, allocations: 55.53 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.908e-05/0.1705, allocations: 93.86 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1705, allocations: 29.69 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.1705, allocations: 88.12 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.1706, allocations: 7.906 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.1706, allocations: 13.72 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.1707, allocations: 314.8 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.1707, allocations: 7.984 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.1707, allocations: 12.12 kB / 0.7866 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.1708, allocations: 24.84 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1708, allocations: 0 / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.834e-05/0.1709, allocations: 53.56 kB / 0.7866 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.1709, allocations: 4 kB / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1709, allocations: 0 / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.1709, allocations: 4 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-07/0.1709, allocations: 0 / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.396e-06/0.1709, allocations: 0 / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.153e-05/0.1709, allocations: 4.094 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.171, allocations: 7.984 kB / 0.7867 GB, free: 9.746 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 5.447e-05/0.171, allocations: 109.8 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.171, allocations: 3.938 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.006e-05/0.171, allocations: 7.125 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.1711, allocations: 0 / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1711, allocations: 0 / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.1711, allocations: 0 / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.761e-05/0.1712, allocations: 161.6 kB / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1712, allocations: 7.938 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1712, allocations: 0 / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.1712, allocations: 0 / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.1712, allocations: 3.984 kB / 0.7869 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1712, allocations: 3.938 kB / 0.7869 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1712, allocations: 3.938 kB / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.964e-05/0.1713, allocations: 77.12 kB / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.1713, allocations: 81.05 kB / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.1714, allocations: 4.031 kB / 0.7871 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.809e-05/0.1714, allocations: 7.984 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.1714, allocations: 0 / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1714, allocations: 4 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.983e-05/0.1715, allocations: 79.28 kB / 0.7872 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1715, allocations: 0 / 0.7872 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002492/0.1717, allocations: 59.92 kB / 0.7872 GB, free: 9.043 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.0007107/0.1725, allocations: 0.8204 MB / 0.788 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.911e-05/0.1725, allocations: 15.98 kB / 0.7881 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1725, allocations: 4.062 kB / 0.7881 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.829e-05/0.1726, allocations: 11.94 kB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1727, allocations: 9.672 kB / 0.7881 GB, free: 8.215 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.0004341/0.1731, allocations: 172.3 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.1734, allocations: 0.6731 MB / 0.7889 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.883e-05/0.1734, allocations: 20.05 kB / 0.7889 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.1735, allocations: 19.42 kB / 0.7889 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.1735, allocations: 0 / 0.7889 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.227/1.401, allocations: 2.454 MB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/1.401, allocations: 315.2 kB / 0.7916 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/3.191, allocations: 0 / 0.7916 GB, free: 4.621 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)