Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.517/2.517, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001472/0.001472, allocations: 184.8 kB / 360.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.213/2.213, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001086/0.001086, allocations: 101.6 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.219e-05, allocations: 0 / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7905/0.7906, allocations: 115.3 MB / 0.9634 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2495/1.04, allocations: 138.9 MB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004926/1.041, allocations: 92.53 kB / 1.099 GB, free: 1.449 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02791/1.069, allocations: 4.495 MB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.124e-06/1.069, allocations: 0 / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.738e-06/1.069, allocations: 0.625 kB / 1.104 GB, free: 13 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.0007532/1.069, allocations: 375.1 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/1.07, allocations: 12.88 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/1.07, allocations: 0.75 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/1.07, allocations: 167.5 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/1.07, allocations: 0 / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/1.07, allocations: 4.688 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.438e-05/1.07, allocations: 4.531 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/1.07, allocations: 38.38 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/1.07, allocations: 3.984 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/1.07, allocations: 0.5938 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/1.07, allocations: 1.656 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/1.071, allocations: 142.2 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/1.071, allocations: 31.25 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.576e-05/1.071, allocations: 17.61 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.465e-05/1.071, allocations: 4.641 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/1.071, allocations: 31.72 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 2.936e-06/1.071, allocations: 4 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003638/1.071, allocations: 53.38 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/1.071, allocations: 55.92 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/1.072, allocations: 93.84 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/1.072, allocations: 26.89 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/1.072, allocations: 80.14 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/1.072, allocations: 3.906 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/1.072, allocations: 4.531 kB / 1.105 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001887/1.072, allocations: 316.2 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-05/1.072, allocations: 15.92 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.311e-05/1.072, allocations: 4 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/1.072, allocations: 13.02 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.072, allocations: 4 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002452/1.072, allocations: 47.5 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/1.073, allocations: 8 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.979e-05/1.073, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/1.073, allocations: 7.938 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.639e-06/1.073, allocations: 8.234 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/1.073, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/1.073, allocations: 0 / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/1.073, allocations: 4 kB / 1.105 GB, free: 11.27 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 0.0001227/1.073, allocations: 110.6 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002287/1.073, allocations: 57.62 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/1.073, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/1.074, allocations: 73.08 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.074, allocations: 8.062 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.074, allocations: 2.938 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.074, allocations: 0 / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/1.074, allocations: 138.1 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.074, allocations: 0 / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.704e-06/1.074, allocations: 0 / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/1.074, allocations: 4 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/1.074, allocations: 0 / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/1.074, allocations: 0 / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.074, allocations: 0 / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/1.074, allocations: 82.33 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.254e-05/1.074, allocations: 85.09 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/1.074, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/1.074, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/1.074, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/1.075, allocations: 4 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.587e-05/1.075, allocations: 83.28 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.41e-07/1.075, allocations: 0 / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007145/1.075, allocations: 67.95 kB / 1.106 GB, free: 10.47 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.001829/1.077, allocations: 0.813 MB / 1.107 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002589/1.078, allocations: 67.39 kB / 1.107 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.078, allocations: 0 / 1.107 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.326e-05/1.078, allocations: 33.69 kB / 1.107 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/1.078, allocations: 4.625 kB / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/1.08, allocations: 273.7 kB / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/1.08, allocations: 0.6768 MB / 1.108 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.723e-05/1.08, allocations: 7.984 kB / 1.108 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/1.08, allocations: 11.44 kB / 1.108 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.08, allocations: 0 / 1.108 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04483/1.125, allocations: 2.077 MB / 1.11 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004033/1.125, allocations: 243.2 kB / 1.11 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.525/3.651, allocations: 1.547 kB / 1.11 GB, free: 6.25 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Utilities_IO_Python27_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)