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.4/1.4, allocations: 249.5 MB / 257 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 176.8 kB / 316.3 MB, free: 3.219 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.67/1.67, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008127/0.0008125, allocations: 86.48 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.698e-05/1.702e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1922, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7218/0.9141, allocations: 133.7 MB / 1.016 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.9144, allocations: 102 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01138/0.9258, allocations: 4.486 MB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of FrontEnd: time 3.858e-06/0.9258, allocations: 0 / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.9258, allocations: 3.938 kB / 1.02 GB, free: 20 kB / 0.6355 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.0003779/0.9262, allocations: 373.9 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.9263, allocations: 8.031 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.804e-05/0.9263, allocations: 11.94 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.9264, allocations: 166.5 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.9264, allocations: 0 / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-06/0.9264, allocations: 3.938 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.534e-05/0.9265, allocations: 8 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.095e-05/0.9266, allocations: 41.67 kB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.9266, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.9266, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.9266, allocations: 0 / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001595/0.9268, allocations: 142.1 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 5.01e-05/0.9269, allocations: 30.55 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.87e-05/0.9269, allocations: 8.922 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.9269, allocations: 7.984 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.9269, allocations: 33.81 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.9269, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001781/0.9271, allocations: 53.69 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.9272, allocations: 51.41 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.671e-05/0.9272, allocations: 92.44 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.9272, allocations: 25.7 kB / 1.021 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.9273, allocations: 80.14 kB / 1.021 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.9273, allocations: 7.891 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.9273, allocations: 0 / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/0.9274, allocations: 314.8 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.9274, allocations: 12.16 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.31e-05/0.9274, allocations: 7.75 kB / 1.022 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.9275, allocations: 15.92 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.9275, allocations: 0 / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.924e-05/0.9276, allocations: 53.67 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.9276, allocations: 4 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.9277, allocations: 4 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.9277, allocations: 0 / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.9277, allocations: 0 / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.9277, allocations: 4.094 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.457e-05/0.9277, allocations: 4 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.9277, allocations: 4 kB / 1.022 GB, free: 14.3 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5.411e-05/0.9278, allocations: 104.9 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.539e-05/0.9279, allocations: 64.83 kB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.9279, allocations: 4 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.9281, allocations: 69.95 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.9281, allocations: 3.938 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.9281, allocations: 8 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.9281, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.802e-05/0.9282, allocations: 142.1 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.9282, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.9282, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.9282, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.9282, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.9282, allocations: 7.984 kB / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9282, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.876e-05/0.9283, allocations: 76.14 kB / 1.022 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.9284, allocations: 88.31 kB / 1.022 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.9284, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.622e-05/0.9284, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.9285, allocations: 3.984 kB / 1.022 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.9285, allocations: 4 kB / 1.022 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.688e-05/0.9285, allocations: 75.28 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9285, allocations: 4 kB / 1.023 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002935/0.9288, allocations: 74.75 kB / 1.023 GB, free: 13.5 MB / 0.6511 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002837/0.9317, allocations: 0.817 MB / 1.023 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001364/0.9318, allocations: 67.39 kB / 1.023 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.9318, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.122e-05/0.9319, allocations: 29.7 kB / 1.023 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.932, allocations: 3.062 kB / 1.024 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.9331, allocations: 267.7 kB / 1.024 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.9334, allocations: 0.6768 MB / 1.024 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.311e-05/0.9335, allocations: 4 kB / 1.024 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.9335, allocations: 11.44 kB / 1.024 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of SimCode: time 3.3e-07/0.9335, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.9542, allocations: 2.087 MB / 1.026 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/0.9545, allocations: 247.8 kB / 1.027 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/2.467, allocations: 1.875 kB / 1.027 GB, free: 9.266 MB / 0.6511 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)