Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009688/0.0009687, allocations: 172.8 kB / 361.4 MB, free: 6.879 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.49/1.49, allocations: 205.3 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008216/0.0008215, allocations: 95.25 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.989e-05/1.993e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7098/0.7098, allocations: 115.3 MB / 0.9645 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2153/0.9252, allocations: 139.1 MB / 1.1 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.9255, allocations: 96.81 kB / 1.1 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01257/0.9381, allocations: 4.492 MB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.325e-06/0.9382, allocations: 0.75 kB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.9382, allocations: 4 kB / 1.105 GB, free: 12.14 MB / 0.7136 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.0004466/0.9387, allocations: 376.7 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.9387, allocations: 8.031 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.9388, allocations: 1.531 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.9389, allocations: 167.6 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.939, allocations: 0.7188 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.939, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.923e-05/0.9391, allocations: 4.656 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.897e-05/0.9392, allocations: 42.3 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.9392, allocations: 0 / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.9392, allocations: 4.719 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.9392, allocations: 1.75 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002116/0.9394, allocations: 139.1 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.453e-05/0.9395, allocations: 31.61 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.9395, allocations: 14.8 kB / 1.106 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.9396, allocations: 3.984 kB / 1.106 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.9396, allocations: 34.56 kB / 1.106 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.492e-06/0.9396, allocations: 0 / 1.106 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002369/0.9399, allocations: 56.02 kB / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.9399, allocations: 55.41 kB / 1.106 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.94, allocations: 90.16 kB / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.94, allocations: 26.89 kB / 1.106 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.9401, allocations: 80.14 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.9401, allocations: 11.89 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.9401, allocations: 0.875 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.9403, allocations: 310.8 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.9403, allocations: 10.97 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.72e-05/0.9403, allocations: 8 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.56e-05/0.9404, allocations: 15.98 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.9404, allocations: 3.953 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000115/0.9405, allocations: 53.67 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.9406, allocations: 4 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.9406, allocations: 12.69 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.9406, allocations: 0 / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.9406, allocations: 0 / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.9406, allocations: 0 / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/0.9406, allocations: 0 / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.9407, allocations: 4 kB / 1.106 GB, free: 10.42 MB / 0.7136 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 8.007e-05/0.9408, allocations: 104.9 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001198/0.9409, allocations: 65.56 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.9409, allocations: 4 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.9411, allocations: 66.28 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.9411, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.9411, allocations: 2.188 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9411, allocations: 0 / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.9412, allocations: 142.1 kB / 1.107 GB, free: 9.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.9413, allocations: 4 kB / 1.107 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.283e-06/0.9413, allocations: 320 / 1.107 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.9413, allocations: 4 kB / 1.107 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.381e-06/0.9413, allocations: 0 / 1.107 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.9413, allocations: 3.984 kB / 1.107 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9413, allocations: 3.453 kB / 1.107 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.9414, allocations: 76.97 kB / 1.107 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.102e-05/0.9415, allocations: 81.06 kB / 1.107 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.9415, allocations: 0 / 1.107 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.9415, allocations: 4.031 kB / 1.107 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.9416, allocations: 7.984 kB / 1.107 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.9416, allocations: 2.062 kB / 1.107 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.9416, allocations: 83.28 kB / 1.107 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9417, allocations: 0 / 1.107 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003252/0.942, allocations: 67.92 kB / 1.107 GB, free: 9.625 MB / 0.7136 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.004693/0.9467, allocations: 0.8172 MB / 1.108 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001619/0.9469, allocations: 71.39 kB / 1.108 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.9469, allocations: 0 / 1.108 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.9469, allocations: 33.7 kB / 1.108 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.9471, allocations: 1.828 kB / 1.108 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.948, allocations: 270.3 kB / 1.108 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.9483, allocations: 0.6806 MB / 1.109 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.283e-05/0.9484, allocations: 8.125 kB / 1.109 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.9484, allocations: 7.438 kB / 1.109 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.9484, allocations: 0 / 1.109 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.9714, allocations: 2.081 MB / 1.111 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/0.9717, allocations: 256.8 kB / 1.111 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.563, allocations: 2.25 kB / 1.111 GB, free: 5.375 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)