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 2.429/2.429, allocations: 252 MB / 267.3 MB, free: 10.86 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.00281/0.00281, allocations: 176.9 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.56/2.56, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0008871/0.0008873, allocations: 94.3 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006425/0.0006429, allocations: 13.41 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3722, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject): time 0.001229/0.3735, allocations: 266.6 kB / 0.9012 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.3761, allocations: 1.124 MB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.3762, allocations: 0 / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.3764, allocations: 7.938 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.279e-05/0.3764, allocations: 0 / 0.9023 GB, free: 61.98 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.0008411/0.3773, allocations: 143.7 kB / 0.9024 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.164e-05/0.3774, allocations: 16 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.83e-05/0.3775, allocations: 3.984 kB / 0.9025 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.526e-05/0.3775, allocations: 7.984 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.891e-05/0.3776, allocations: 11.94 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.3776, allocations: 4 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007254/0.3784, allocations: 187.6 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.3785, allocations: 4 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.3785, allocations: 29.7 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.3791, allocations: 191.6 kB / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3791, allocations: 0 / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.156e-06/0.3791, allocations: 0 / 0.9029 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3792, allocations: 0 / 0.9029 GB, free: 61.39 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.0004874/0.3796, allocations: 359.5 kB / 0.9032 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.914e-05/0.3797, allocations: 12.03 kB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.89e-05/0.3798, allocations: 38.75 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.3799, allocations: 0.9375 kB / 0.9033 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.38, allocations: 160.4 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.38, allocations: 384 / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.3801, allocations: 4.375 kB / 0.9034 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3803, allocations: 49.59 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3803, allocations: 0 / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.3803, allocations: 0 / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/0.3804, allocations: 8 kB / 0.9035 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.602e-05/0.3804, allocations: 7.938 kB / 0.9035 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.3807, allocations: 157.6 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.3808, allocations: 30.59 kB / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.3808, allocations: 12.92 kB / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-06/0.3808, allocations: 3.938 kB / 0.9037 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3809, allocations: 38.56 kB / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.3809, allocations: 0 / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002441/0.3811, allocations: 57.61 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.3812, allocations: 51.41 kB / 0.9038 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.712e-05/0.3813, allocations: 97.86 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.3813, allocations: 25.7 kB / 0.9039 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.049e-05/0.3813, allocations: 80.14 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.3814, allocations: 7.891 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.3814, allocations: 12.19 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.3815, allocations: 310.8 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/0.3815, allocations: 8 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.547e-05/0.3816, allocations: 7.984 kB / 0.9043 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.049e-05/0.3817, allocations: 16.86 kB / 0.9044 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3817, allocations: 4 kB / 0.9044 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001439/0.3818, allocations: 61.55 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.3819, allocations: 4 kB / 0.9044 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3819, allocations: 4.094 kB / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3819, allocations: 0 / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.284e-06/0.3819, allocations: 0 / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.382, allocations: 0 / 0.9044 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.382, allocations: 16.11 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.382, allocations: 0 / 0.9044 GB, free: 59.55 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 9.875e-05/0.3821, allocations: 109.8 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.3822, allocations: 3.938 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.026e-05/0.3822, allocations: 7.109 kB / 0.9046 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/0.3822, allocations: 8 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3823, allocations: 0 / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3823, allocations: 0 / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.3824, allocations: 149.7 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3824, allocations: 3.938 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-06/0.3824, allocations: 0 / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.3825, allocations: 4 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.3825, allocations: 3.938 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3825, allocations: 0 / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3825, allocations: 0 / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000154/0.3827, allocations: 85.05 kB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.3827, allocations: 85.05 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.3828, allocations: 4 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3829, allocations: 4 kB / 0.9049 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.3829, allocations: 7.969 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.3829, allocations: 4 kB / 0.9049 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.82e-05/0.383, allocations: 75.31 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.51e-07/0.383, allocations: 4.094 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005021/0.3835, allocations: 59.97 kB / 0.905 GB, free: 58.84 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.001297/0.3848, allocations: 0.8101 MB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.385, allocations: 23.98 kB / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.385, allocations: 0 / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.316e-05/0.385, allocations: 7.984 kB / 0.9059 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.3853, allocations: 7.047 kB / 0.9059 GB, free: 58.03 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.0008488/0.3861, allocations: 176.3 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3863, allocations: 0.677 MB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.999e-05/0.3864, allocations: 19.92 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.3865, allocations: 19.42 kB / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.3865, allocations: 0 / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4915/0.878, allocations: 2.287 MB / 0.909 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/0.8784, allocations: 325.8 kB / 0.9093 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/3.103, allocations: 0 / 0.9093 GB, free: 54.61 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)