Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_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.791/1.791, 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.001055/0.001055, allocations: 184.9 kB / 361.4 MB, free: 6.805 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.791/1.791, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0008615/0.0008616, allocations: 93 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.149e-05/2.136e-05, allocations: 4 kB / 0.8518 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.6976, allocations: 115.3 MB / 0.9645 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.8882, allocations: 138.8 MB / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.8885, allocations: 87.94 kB / 1.1 GB, free: 0.875 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01214/0.9007, allocations: 4.34 MB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9007, allocations: 0 / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.9007, allocations: 0 / 1.104 GB, free: 12.58 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.0004341/0.9012, allocations: 371.3 kB / 1.105 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.9012, allocations: 12.47 kB / 1.105 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/0.9013, allocations: 5.531 kB / 1.105 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.9014, allocations: 167.7 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.9015, allocations: 0 / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.9015, allocations: 4 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.173e-05/0.9015, allocations: 13.44 kB / 1.105 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.323e-05/0.9016, allocations: 42.47 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.9016, allocations: 0.7812 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.9017, allocations: 0 / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.9017, allocations: 0.5938 kB / 1.105 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.9019, allocations: 134.7 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.952e-05/0.902, allocations: 35.66 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.902, allocations: 9.703 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.902, allocations: 4 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.9021, allocations: 35.69 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.9021, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002155/0.9023, allocations: 58.53 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.9023, allocations: 55.95 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.992e-05/0.9024, allocations: 89.69 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.9024, allocations: 26.39 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.9025, allocations: 80.14 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.9025, allocations: 4.594 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.9025, allocations: 1.625 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.9027, allocations: 314.8 kB / 1.106 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.993e-05/0.9027, allocations: 11.98 kB / 1.106 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/0.9027, allocations: 5.344 kB / 1.106 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.512e-05/0.9028, allocations: 11.98 kB / 1.106 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.9028, allocations: 3.953 kB / 1.106 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001104/0.9029, allocations: 55 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.9029, allocations: 4 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.903, allocations: 4 kB / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.903, allocations: 256 / 1.106 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.737e-06/0.903, allocations: 7.984 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.903, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.504e-05/0.903, allocations: 3.688 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.903, allocations: 4 kB / 1.106 GB, free: 10.86 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.035e-05/0.9031, allocations: 109.6 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001032/0.9032, allocations: 53.64 kB / 1.106 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-06/0.9033, allocations: 4 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.9034, allocations: 80.11 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.9034, allocations: 1.312 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.9035, allocations: 0 / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.9035, allocations: 0 / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.9036, allocations: 138.2 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.9036, allocations: 0 / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.9036, allocations: 0 / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.9036, allocations: 0 / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.9036, allocations: 0 / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.9036, allocations: 0 / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.9036, allocations: 4 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.9038, allocations: 73.06 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.9038, allocations: 85.05 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.9038, allocations: 0 / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.594e-05/0.9039, allocations: 4 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.9039, allocations: 7.219 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.9039, allocations: 4 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.147e-05/0.904, allocations: 83.27 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.31e-07/0.904, allocations: 8.031 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003211/0.9043, allocations: 75.84 kB / 1.107 GB, free: 10.05 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.001412/0.9057, allocations: 0.8069 MB / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.9059, allocations: 71.33 kB / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.9059, allocations: 4 kB / 1.107 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-05/0.9059, allocations: 33.69 kB / 1.107 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.906, allocations: 0.9375 kB / 1.107 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/0.9068, allocations: 258.7 kB / 1.108 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002668/0.9071, allocations: 0.6814 MB / 1.108 GB, free: 8.172 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.093e-05/0.9071, allocations: 11.81 kB / 1.108 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.9072, allocations: 7.438 kB / 1.108 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.9072, allocations: 0 / 1.108 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02288/0.9301, allocations: 2.058 MB / 1.11 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.9303, allocations: 236.6 kB / 1.111 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.464, allocations: 7.125 kB / 1.111 GB, free: 5.84 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)