Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.005621/0.005621, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.00119/0.00119, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.304/2.304, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 63.89 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8071/0.8095, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001772/0.8113, allocations: 0.5444 MB / 1.088 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.8128, allocations: 1.126 MB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.8129, allocations: 3.938 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.813, allocations: 1.906 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.374e-05/0.8131, allocations: 0.75 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006107/0.8137, allocations: 173.2 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.038e-05/0.8138, allocations: 12.66 kB / 1.089 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.236e-05/0.8138, allocations: 5.391 kB / 1.089 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.081e-05/0.8139, allocations: 14.45 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.8139, allocations: 6.828 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.8139, allocations: 0 / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004997/0.8144, allocations: 205.7 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.386e-05/0.8145, allocations: 7.156 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.8145, allocations: 11.78 kB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000391/0.8149, allocations: 190.6 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.815, allocations: 0.5156 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.332e-06/0.815, allocations: 1.156 kB / 1.09 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.815, allocations: 0 / 1.09 GB, free: 3.922 MB / 0.8575 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.0003382/0.8153, allocations: 374.3 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.8154, allocations: 9.469 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.8154, allocations: 107.3 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.8155, allocations: 78.31 kB / 1.09 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.8156, allocations: 238.5 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.8156, allocations: 156.1 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.8157, allocations: 152.2 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.324e-05/0.8157, allocations: 114.8 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.8157, allocations: 75.28 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.8158, allocations: 151.6 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.8158, allocations: 151.1 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.727e-05/0.8158, allocations: 151.5 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.8161, allocations: 452.7 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.418e-05/0.8161, allocations: 170.8 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.8161, allocations: 80.14 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.8162, allocations: 80.02 kB / 1.092 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.118e-05/0.8163, allocations: 115.1 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/0.8163, allocations: 0 / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.664e-05/0.8164, allocations: 36.42 kB / 1.092 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.8164, allocations: 127.4 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.8166, allocations: 107.3 kB / 1.092 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.8166, allocations: 26.86 kB / 1.093 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.8166, allocations: 85.23 kB / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.8166, allocations: 0 / 1.093 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.8167, allocations: 25.45 kB / 1.093 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.8168, allocations: 316.5 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.8168, allocations: 8.094 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/0.8169, allocations: 10.08 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.518e-05/0.8169, allocations: 22.47 kB / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.817, allocations: 0 / 1.093 GB, free: 16.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001477/0.8171, allocations: 52.09 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.8171, allocations: 9.672 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.8171, allocations: 3.938 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.8172, allocations: 1 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-06/0.8172, allocations: 0.5625 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.8172, allocations: 5.031 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.793e-05/0.8173, allocations: 1.797 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.8173, allocations: 7.203 kB / 1.093 GB, free: 16.4 MB / 0.8731 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.0001077/0.8174, allocations: 188.4 kB / 1.093 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.8175, allocations: 116.3 kB / 1.093 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.8175, allocations: 106.4 kB / 1.093 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.72e-05/0.8176, allocations: 182 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.358e-05/0.8177, allocations: 180.8 kB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.458e-05/0.8178, allocations: 182.2 kB / 1.094 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.818, allocations: 406.8 kB / 1.094 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.085e-05/0.818, allocations: 110.7 kB / 1.094 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.8181, allocations: 106.9 kB / 1.095 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.781e-05/0.8182, allocations: 177.1 kB / 1.095 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.017e-05/0.8182, allocations: 182.1 kB / 1.095 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.781e-05/0.8183, allocations: 182.1 kB / 1.095 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.257e-05/0.8184, allocations: 186.8 kB / 1.095 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.8185, allocations: 300.8 kB / 1.096 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.662e-05/0.8186, allocations: 195.8 kB / 1.096 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-05/0.8187, allocations: 178.6 kB / 1.096 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.359e-05/0.8188, allocations: 106.6 kB / 1.096 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.8189, allocations: 182 kB / 1.096 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.274e-05/0.8189, allocations: 103.1 kB / 1.096 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.409e-05/0.819, allocations: 84.2 kB / 1.096 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.819, allocations: 1.188 kB / 1.096 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000457/0.8195, allocations: 54.97 kB / 1.096 GB, free: 12.82 MB / 0.8731 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.001189/0.8207, allocations: 1.013 MB / 1.097 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.8208, allocations: 14.47 kB / 1.097 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8208, allocations: 0 / 1.097 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/0.8208, allocations: 4.719 kB / 1.097 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.8212, allocations: 455.1 kB / 1.098 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.8224, allocations: 1.319 MB / 1.099 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002373/0.8226, allocations: 0.6788 MB / 1.1 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.8228, allocations: 7.219 kB / 1.1 GB, free: 9.477 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.8228, allocations: 19.53 kB / 1.1 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of SimCode: time 4.2e-07/0.8228, allocations: 0 / 1.1 GB, free: 9.465 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.8456, allocations: 2.555 MB / 1.102 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.105/8.95, allocations: 15.39 kB / 1.102 GB, free: 8.801 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_9_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)