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.001506/0.001506, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.328/1.328, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.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.298/2.298, allocations: 390.2 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6032/0.6046, allocations: 140.4 MB / 0.9497 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001722/0.6064, allocations: 0.5231 MB / 0.9502 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.6077, allocations: 1.128 MB / 0.9513 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.074e-05/0.6077, allocations: 1.094 kB / 0.9513 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.432e-05/0.6078, allocations: 5.141 kB / 0.9514 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.326e-05/0.6078, allocations: 3.984 kB / 0.9514 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004424/0.6083, allocations: 177.7 kB / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.862e-05/0.6083, allocations: 8.719 kB / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.6084, allocations: 5.203 kB / 0.9515 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.338e-05/0.6084, allocations: 8.656 kB / 0.9515 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.659e-05/0.6085, allocations: 4.25 kB / 0.9515 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.6085, allocations: 1.156 kB / 0.9515 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003333/0.6088, allocations: 191 kB / 0.9517 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.6089, allocations: 6.312 kB / 0.9517 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.6089, allocations: 6.859 kB / 0.9517 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.6092, allocations: 193.1 kB / 0.9519 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6092, allocations: 1.5 kB / 0.9519 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6092, allocations: 4 kB / 0.9519 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.6092, allocations: 3.938 kB / 0.9519 GB, free: 7.613 MB / 0.7169 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.0002792/0.6095, allocations: 370.2 kB / 0.9523 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.6095, allocations: 9.656 kB / 0.9523 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.547e-05/0.6095, allocations: 106 kB / 0.9524 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.6096, allocations: 81.59 kB / 0.9525 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.365e-05/0.6097, allocations: 237.2 kB / 0.9527 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.6097, allocations: 156.4 kB / 0.9529 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.6098, allocations: 160.2 kB / 0.953 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.405e-05/0.6098, allocations: 106.4 kB / 0.9531 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.6098, allocations: 75.28 kB / 0.9532 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.768e-05/0.6098, allocations: 150.6 kB / 0.9533 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.6099, allocations: 156.1 kB / 0.9535 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.6099, allocations: 154.6 kB / 0.9536 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001698/0.6101, allocations: 444.8 kB / 0.954 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.843e-05/0.6101, allocations: 174.6 kB / 0.9542 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.6101, allocations: 80.14 kB / 0.9543 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.6101, allocations: 84.66 kB / 0.9544 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.6102, allocations: 105.8 kB / 0.9545 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.6102, allocations: 0 / 0.9545 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.77e-05/0.6102, allocations: 28.64 kB / 0.9545 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.6103, allocations: 130.6 kB / 0.9546 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.216e-05/0.6103, allocations: 104.2 kB / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.936e-06/0.6104, allocations: 29.7 kB / 0.9547 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.6104, allocations: 85.84 kB / 0.9548 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.6104, allocations: 0 / 0.9548 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.6104, allocations: 27.86 kB / 0.9549 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.729e-05/0.6105, allocations: 312.4 kB / 0.9552 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.6105, allocations: 4.594 kB / 0.9552 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.552e-05/0.6105, allocations: 11.2 kB / 0.9552 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.529e-05/0.6106, allocations: 28.31 kB / 0.9552 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6106, allocations: 1.094 kB / 0.9552 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001164/0.6107, allocations: 57.81 kB / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.6107, allocations: 6.938 kB / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6107, allocations: 0 / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6108, allocations: 1 kB / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.6108, allocations: 0 / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6108, allocations: 1.156 kB / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.6109, allocations: 1.109 kB / 0.9553 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.6109, allocations: 6.812 kB / 0.9553 GB, free: 4.066 MB / 0.7169 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 6.028e-05/0.6109, allocations: 200.3 kB / 0.9555 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.611, allocations: 106.3 kB / 0.9556 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.611, allocations: 113 kB / 0.9557 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.611, allocations: 184.2 kB / 0.9558 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-05/0.6111, allocations: 181.8 kB / 0.956 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/0.6111, allocations: 189.8 kB / 0.9562 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.6112, allocations: 395.7 kB / 0.9566 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.6112, allocations: 112.8 kB / 0.9567 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.234e-05/0.6113, allocations: 106.6 kB / 0.9568 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.079e-05/0.6113, allocations: 182.1 kB / 0.957 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.6113, allocations: 180.3 kB / 0.9571 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.881e-05/0.6113, allocations: 182.5 kB / 0.9573 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.867e-05/0.6114, allocations: 180.2 kB / 0.9575 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.737e-05/0.6114, allocations: 311 kB / 0.9578 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.6115, allocations: 183.5 kB / 0.9579 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.6115, allocations: 181.5 kB / 0.9581 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/0.6115, allocations: 114 kB / 0.9582 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.6116, allocations: 181.5 kB / 0.9584 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.6116, allocations: 106.1 kB / 0.9585 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.328e-05/0.6116, allocations: 78.84 kB / 0.9586 GB, free: 488 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6116, allocations: 0 / 0.9586 GB, free: 488 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003007/0.6119, allocations: 59.23 kB / 0.9586 GB, free: 464 kB / 0.7169 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.0007883/0.6127, allocations: 1.019 MB / 0.9596 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.161e-05/0.6128, allocations: 12.19 kB / 0.9596 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6128, allocations: 0 / 0.9596 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.6128, allocations: 0 / 0.9596 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.6132, allocations: 461.9 kB / 0.9601 GB, free: 15.1 MB / 0.7325 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.6142, allocations: 1.323 MB / 0.9614 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.6144, allocations: 0.6787 MB / 0.962 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.256e-05/0.6145, allocations: 10.25 kB / 0.962 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.6145, allocations: 11.97 kB / 0.9621 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of SimCode: time 1.453e-06/0.6145, allocations: 1.438 kB / 0.9621 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4336/1.048, allocations: 2.518 MB / 0.9645 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.582, allocations: 19.64 kB / 0.9645 GB, free: 11.59 MB / 0.7325 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)