Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007469/0.007469, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 194.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 482.4 MB / 0.7548 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 59.89 kB / 1.083 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.304, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002316/0.3063, allocations: 0.5438 MB / 1.242 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002325/0.3087, allocations: 1.132 MB / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.251e-05/0.3087, allocations: 0 / 1.243 GB, free: 8.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 9.774e-05/0.3088, allocations: 7.938 kB / 1.243 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.3089, allocations: 0 / 1.243 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006644/0.3096, allocations: 167.4 kB / 1.243 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.648e-05/0.3097, allocations: 19.92 kB / 1.243 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.3097, allocations: 4 kB / 1.243 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.3098, allocations: 7.984 kB / 1.243 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.3098, allocations: 15.92 kB / 1.243 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.3098, allocations: 0 / 1.243 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005418/0.3104, allocations: 203.6 kB / 1.243 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.951e-05/0.3104, allocations: 4 kB / 1.243 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.3105, allocations: 7.984 kB / 1.243 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000431/0.3109, allocations: 191.5 kB / 1.244 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3109, allocations: 0 / 1.244 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.311, allocations: 0 / 1.244 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.311, allocations: 4 kB / 1.244 GB, free: 7.91 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004907/0.3115, allocations: 371 kB / 1.244 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3115, allocations: 12.03 kB / 1.244 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.3117, allocations: 106 kB / 1.244 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.3118, allocations: 76.22 kB / 1.244 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.312, allocations: 243.7 kB / 1.244 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.504e-05/0.3121, allocations: 150.9 kB / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/0.3122, allocations: 158.9 kB / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.599e-05/0.3123, allocations: 108.9 kB / 1.245 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.324e-05/0.3124, allocations: 83.22 kB / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.3124, allocations: 150.6 kB / 1.245 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.48e-05/0.3125, allocations: 150.6 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.918e-05/0.3126, allocations: 154.6 kB / 1.245 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.313, allocations: 453.9 kB / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.3132, allocations: 169.1 kB / 1.246 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.3132, allocations: 88.08 kB / 1.246 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.802e-05/0.3133, allocations: 79.22 kB / 1.246 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.53e-05/0.3134, allocations: 109.8 kB / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.273e-06/0.3134, allocations: 0 / 1.246 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001013/0.3135, allocations: 33.7 kB / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/0.3136, allocations: 126.7 kB / 1.246 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.3137, allocations: 109.8 kB / 1.246 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3137, allocations: 29.7 kB / 1.247 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.3138, allocations: 84.14 kB / 1.247 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.3138, allocations: 0 / 1.247 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.3139, allocations: 21.7 kB / 1.247 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3141, allocations: 310.8 kB / 1.247 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.714e-05/0.3141, allocations: 11.94 kB / 1.247 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.3142, allocations: 11.98 kB / 1.247 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.26e-05/0.3142, allocations: 20.84 kB / 1.247 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3143, allocations: 0 / 1.247 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001752/0.3144, allocations: 61.66 kB / 1.247 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3145, allocations: 9.406 kB / 1.247 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.3145, allocations: 0 / 1.247 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3145, allocations: 0 / 1.247 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.393e-06/0.3145, allocations: 0 / 1.247 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.3145, allocations: 0 / 1.247 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.3146, allocations: 4 kB / 1.247 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.3147, allocations: 7.969 kB / 1.247 GB, free: 4.234 MB / 0.9981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.3149, allocations: 193.1 kB / 1.247 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.315, allocations: 104.9 kB / 1.247 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.3151, allocations: 108.1 kB / 1.247 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-05/0.3152, allocations: 184.2 kB / 1.248 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.697e-05/0.3153, allocations: 180.2 kB / 1.248 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.071e-05/0.3154, allocations: 180.2 kB / 1.248 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.3158, allocations: 405.2 kB / 1.248 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.029e-05/0.3158, allocations: 113 kB / 1.248 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.3159, allocations: 104.9 kB / 1.249 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.815e-05/0.316, allocations: 180.3 kB / 1.249 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-05/0.3161, allocations: 184.2 kB / 1.249 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-05/0.3162, allocations: 180.2 kB / 1.249 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001217/0.3164, allocations: 188.2 kB / 1.249 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001987/0.3166, allocations: 303.7 kB / 1.25 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3167, allocations: 190 kB / 1.25 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.3168, allocations: 184.2 kB / 1.25 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.3169, allocations: 105 kB / 1.25 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.765e-05/0.317, allocations: 180.2 kB / 1.25 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/0.3171, allocations: 105 kB / 1.25 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.457e-05/0.3172, allocations: 83.27 kB / 1.25 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3172, allocations: 0 / 1.25 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005037/0.3177, allocations: 59.73 kB / 1.25 GB, free: 0.5703 MB / 0.9981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4767/0.7944, allocations: 1.004 MB / 1.251 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.7946, allocations: 15.44 kB / 1.251 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7946, allocations: 0.9062 kB / 1.251 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.544e-06/0.7946, allocations: 0.75 kB / 1.251 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.7948, allocations: 460.3 kB / 1.252 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/0.7956, allocations: 1.332 MB / 1.253 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.448e-05/0.7957, allocations: 0.6737 MB / 1.254 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.25e-05/0.7958, allocations: 14.09 kB / 1.254 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.7958, allocations: 14.84 kB / 1.254 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.7958, allocations: 0 / 1.254 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02369/0.8195, allocations: 2.565 MB / 1.256 GB, free: 12.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/8.326, allocations: 24.31 kB / 1.256 GB, free: 12.39 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)