Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008083/0.008083, allocations: 97.3 kB / 15.73 MB, free: 6.055 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.00212/0.00212, allocations: 197.2 kB / 16.68 MB, free: 5.977 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.007/3.007, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 68.11 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3182, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001832/0.3201, allocations: 0.5302 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.3218, allocations: 1.136 MB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.3218, allocations: 3.938 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.97e-05/0.3219, allocations: 0 / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.771e-05/0.322, allocations: 0 / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.3225, allocations: 179.4 kB / 1.222 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.528e-05/0.3226, allocations: 11.98 kB / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.427e-05/0.3226, allocations: 0 / 1.222 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.617e-05/0.3227, allocations: 12 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.3227, allocations: 11.92 kB / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.3228, allocations: 0 / 1.222 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.3232, allocations: 203.6 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.657e-05/0.3232, allocations: 3.984 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.3232, allocations: 12 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.3236, allocations: 191.5 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3236, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3236, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.3236, allocations: 0 / 1.222 GB, free: 12.04 MB / 0.9825 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.0004273/0.324, allocations: 371 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3241, allocations: 8.031 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.248e-05/0.3242, allocations: 106 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.625e-05/0.3242, allocations: 84.22 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.3244, allocations: 243.7 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.271e-05/0.3245, allocations: 150.9 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.3246, allocations: 158.9 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/0.3247, allocations: 108.9 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.3247, allocations: 75.28 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.838e-05/0.3248, allocations: 154.6 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.197e-05/0.3249, allocations: 150.6 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.277e-05/0.3249, allocations: 154.6 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.3253, allocations: 453.8 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.924e-05/0.3254, allocations: 177.1 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.204e-05/0.3254, allocations: 84.14 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.3255, allocations: 79.22 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/0.3255, allocations: 113.8 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.3255, allocations: 0 / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.472e-05/0.3256, allocations: 37.59 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.3257, allocations: 126.7 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3258, allocations: 101.9 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.3258, allocations: 29.69 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.3259, allocations: 88.08 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.3259, allocations: 0 / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.3259, allocations: 17.7 kB / 1.225 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3261, allocations: 314.8 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.3261, allocations: 11.98 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.3262, allocations: 12 kB / 1.226 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.613e-05/0.3262, allocations: 24.84 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3262, allocations: 0 / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001249/0.3264, allocations: 49.81 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3264, allocations: 4 kB / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3264, allocations: 0 / 1.226 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3264, allocations: 3.984 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-06/0.3264, allocations: 4 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3264, allocations: 7.922 kB / 1.226 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.56e-05/0.3265, allocations: 4.125 kB / 1.226 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.3265, allocations: 4 kB / 1.226 GB, free: 8.352 MB / 0.9825 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.0001117/0.3267, allocations: 181.7 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.218e-05/0.3267, allocations: 112.9 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.518e-05/0.3268, allocations: 108.1 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.482e-05/0.3269, allocations: 180.2 kB / 1.226 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.268e-05/0.327, allocations: 184.3 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.852e-05/0.3271, allocations: 180.2 kB / 1.227 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.3273, allocations: 401.2 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.611e-05/0.3274, allocations: 113 kB / 1.227 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.3274, allocations: 104.9 kB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.339e-05/0.3275, allocations: 176.3 kB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.681e-05/0.3276, allocations: 192.1 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.882e-05/0.3277, allocations: 184.3 kB / 1.228 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.133e-05/0.3278, allocations: 180.2 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.328, allocations: 303.8 kB / 1.228 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.77e-05/0.3281, allocations: 198 kB / 1.228 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.594e-05/0.3281, allocations: 176.3 kB / 1.229 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.238e-05/0.3282, allocations: 108.9 kB / 1.229 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.875e-05/0.3283, allocations: 176.3 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-05/0.3284, allocations: 101 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.051e-05/0.3284, allocations: 87.27 kB / 1.229 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3284, allocations: 4 kB / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003282/0.3288, allocations: 55.73 kB / 1.229 GB, free: 4.699 MB / 0.9825 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.001162/0.3299, allocations: 1.021 MB / 1.23 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.523e-05/0.33, allocations: 12.33 kB / 1.23 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.33, allocations: 0 / 1.23 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/0.3301, allocations: 7.938 kB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.3305, allocations: 456.7 kB / 1.231 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.3317, allocations: 1.329 MB / 1.232 GB, free: 1.836 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.3321, allocations: 0.6806 MB / 1.232 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.906e-05/0.3321, allocations: 4 kB / 1.232 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.03e-05/0.3322, allocations: 19.42 kB / 1.233 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3322, allocations: 0 / 1.233 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.3582, allocations: 2.568 MB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.447/8.806, allocations: 6 kB / 1.235 GB, free: 14.63 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)