Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 249.5 MB / 257 MB, free: 6.945 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.0009762/0.0009761, allocations: 175.5 kB / 316.3 MB, free: 3.215 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.614/1.614, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0008953/0.0008953, allocations: 86.41 kB / 0.6714 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.042e-05/2.044e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2604, allocations: 106.4 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8231/1.083, allocations: 133.4 MB / 1.016 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.084, allocations: 86.69 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01162/1.096, allocations: 4.345 MB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.096, allocations: 0 / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.096, allocations: 4 kB / 1.02 GB, free: 480 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.0004004/1.096, allocations: 370.3 kB / 1.02 GB, free: 68 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/1.096, allocations: 12.03 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/1.096, allocations: 0 / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/1.096, allocations: 163 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/1.096, allocations: 3.984 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/1.096, allocations: 7.938 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.052e-05/1.096, allocations: 4 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.876e-05/1.097, allocations: 41.69 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.097, allocations: 4 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/1.097, allocations: 0 / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/1.097, allocations: 0 / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/1.097, allocations: 141.8 kB / 1.021 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.224e-05/1.097, allocations: 22.61 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/1.097, allocations: 20.72 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/1.097, allocations: 4 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/1.097, allocations: 38.5 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 3.146e-06/1.097, allocations: 3.984 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0002141/1.097, allocations: 49.69 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/1.097, allocations: 51.41 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/1.097, allocations: 96.92 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/1.097, allocations: 25.7 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/1.097, allocations: 80.3 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/1.097, allocations: 7.906 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/1.097, allocations: 0 / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.097, allocations: 318.8 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/1.098, allocations: 7.875 kB / 1.021 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.359e-05/1.098, allocations: 7.984 kB / 1.021 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.282e-05/1.098, allocations: 11.98 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.098, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001009/1.098, allocations: 53.62 kB / 1.021 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.098, allocations: 12.09 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.098, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/1.098, allocations: 0 / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/1.098, allocations: 4 kB / 1.021 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/1.098, allocations: 3.984 kB / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/1.098, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/1.098, allocations: 0 / 1.021 GB, free: 14.75 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 8.284e-05/1.098, allocations: 111 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.529e-05/1.098, allocations: 61.34 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/1.098, allocations: 4.031 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/1.098, allocations: 70.09 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.098, allocations: 3.984 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/1.098, allocations: 4 kB / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.098, allocations: 0 / 1.022 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.871e-05/1.098, allocations: 130.2 kB / 1.022 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.098, allocations: 3.984 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/1.098, allocations: 0 / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/1.098, allocations: 0 / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/1.098, allocations: 4.031 kB / 1.022 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/1.098, allocations: 7.938 kB / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.098, allocations: 0 / 1.022 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.325e-05/1.098, allocations: 68.95 kB / 1.022 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/1.099, allocations: 85.02 kB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/1.099, allocations: 3.984 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/1.099, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/1.099, allocations: 3.938 kB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/1.099, allocations: 8.031 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.307e-05/1.099, allocations: 82.84 kB / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.099, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002734/1.099, allocations: 75.72 kB / 1.022 GB, free: 13.96 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.002775/1.102, allocations: 0.806 MB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000113/1.102, allocations: 71.33 kB / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.102, allocations: 4.062 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.052e-05/1.102, allocations: 29.7 kB / 1.023 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/1.102, allocations: 11.92 kB / 1.023 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007305/1.103, allocations: 257.6 kB / 1.023 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/1.103, allocations: 0.6768 MB / 1.024 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.5e-05/1.103, allocations: 11.92 kB / 1.024 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/1.103, allocations: 11.42 kB / 1.024 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/1.103, allocations: 4.062 kB / 1.024 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/1.125, allocations: 2.064 MB / 1.026 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002847/1.126, allocations: 236.7 kB / 1.026 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.66, allocations: 0 / 1.026 GB, free: 9.734 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_IO_Python36_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_maint.7.0.x_Buildings.Utilities.IO.Python36.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)