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.00494/0.004939, allocations: 100.9 kB / 15.73 MB, free: 6 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.001178/0.001178, allocations: 189.3 kB / 16.67 MB, free: 5.934 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 472.7 MB / 0.7453 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 67.84 kB / 1.069 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3095, allocations: 159.9 MB / 1.225 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.002016/0.3116, allocations: 0.5536 MB / 1.226 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.3132, allocations: 1.136 MB / 1.227 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.3133, allocations: 0 / 1.227 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.077e-05/0.3134, allocations: 0 / 1.227 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.474e-05/0.3135, allocations: 0 / 1.227 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005548/0.314, allocations: 175.4 kB / 1.227 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.736e-05/0.3141, allocations: 15.92 kB / 1.227 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.3141, allocations: 0 / 1.227 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.484e-05/0.3142, allocations: 12 kB / 1.227 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.826e-05/0.3142, allocations: 19.86 kB / 1.227 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.3143, allocations: 0 / 1.227 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.3147, allocations: 199.7 kB / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.3147, allocations: 4 kB / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.3148, allocations: 11.92 kB / 1.227 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.3151, allocations: 191.5 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3151, allocations: 0 / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3151, allocations: 0 / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.3151, allocations: 0 / 1.227 GB, free: 7.379 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.0003753/0.3155, allocations: 367 kB / 1.228 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3155, allocations: 12.03 kB / 1.228 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.699e-05/0.3156, allocations: 106 kB / 1.228 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.3157, allocations: 80.22 kB / 1.228 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.3158, allocations: 239.7 kB / 1.228 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.3159, allocations: 154.9 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.643e-05/0.3159, allocations: 158.9 kB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.119e-05/0.316, allocations: 112.9 kB / 1.229 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.316, allocations: 75.28 kB / 1.229 GB, free: 5.996 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.3161, allocations: 150.6 kB / 1.229 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-05/0.3161, allocations: 150.6 kB / 1.229 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.239e-05/0.3162, allocations: 154.6 kB / 1.229 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.3165, allocations: 457.9 kB / 1.23 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.395e-05/0.3166, allocations: 173.1 kB / 1.23 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.3167, allocations: 84.14 kB / 1.23 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.3167, allocations: 79.22 kB / 1.23 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.3168, allocations: 109.8 kB / 1.23 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3168, allocations: 4 kB / 1.23 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.000101/0.3169, allocations: 37.59 kB / 1.23 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.317, allocations: 126.7 kB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.3171, allocations: 101.8 kB / 1.23 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.3172, allocations: 25.7 kB / 1.23 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.017e-05/0.3172, allocations: 84.14 kB / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.3172, allocations: 0 / 1.23 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.3173, allocations: 21.69 kB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3174, allocations: 318.8 kB / 1.231 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.533e-05/0.3175, allocations: 8 kB / 1.231 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.651e-05/0.3175, allocations: 11.98 kB / 1.231 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.932e-05/0.3176, allocations: 24.84 kB / 1.231 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3176, allocations: 0 / 1.231 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001652/0.3178, allocations: 57.5 kB / 1.231 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3178, allocations: 4 kB / 1.231 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3178, allocations: 4.125 kB / 1.231 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.3179, allocations: 0 / 1.231 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.3179, allocations: 4 kB / 1.231 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3179, allocations: 0 / 1.231 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.728e-05/0.318, allocations: 0 / 1.231 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.318, allocations: 7.984 kB / 1.231 GB, free: 3.703 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.0001062/0.3181, allocations: 181.1 kB / 1.231 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.3182, allocations: 112.9 kB / 1.231 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.258e-05/0.3183, allocations: 112 kB / 1.231 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-05/0.3183, allocations: 176.3 kB / 1.231 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.789e-05/0.3184, allocations: 192.2 kB / 1.232 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-05/0.3185, allocations: 180.2 kB / 1.232 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.3188, allocations: 401.2 kB / 1.232 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-05/0.3188, allocations: 120.9 kB / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.3189, allocations: 101 kB / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.021e-05/0.3189, allocations: 180.2 kB / 1.232 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.778e-05/0.319, allocations: 176.3 kB / 1.233 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-05/0.3191, allocations: 184.3 kB / 1.233 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.949e-05/0.3192, allocations: 184.2 kB / 1.233 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.3194, allocations: 307.7 kB / 1.233 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-05/0.3195, allocations: 186 kB / 1.233 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.778e-05/0.3196, allocations: 180.2 kB / 1.234 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.664e-05/0.3197, allocations: 108.9 kB / 1.234 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.3198, allocations: 180.3 kB / 1.234 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.3198, allocations: 104.9 kB / 1.234 GB, free: 188 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.897e-05/0.3199, allocations: 87.27 kB / 1.234 GB, free: 100 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3199, allocations: 0 / 1.234 GB, free: 100 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004066/0.3203, allocations: 55.73 kB / 1.234 GB, free: 44 kB / 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.001212/0.3215, allocations: 1.019 MB / 1.235 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.3216, allocations: 16.27 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.3216, allocations: 4.062 kB / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.706e-06/0.3217, allocations: 0 / 1.235 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.322, allocations: 455.7 kB / 1.236 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3232, allocations: 1.325 MB / 1.237 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.3234, allocations: 0.6729 MB / 1.238 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.843e-05/0.3235, allocations: 12.08 kB / 1.238 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.084e-05/0.3236, allocations: 19.38 kB / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/0.3236, allocations: 0 / 1.238 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.3462, allocations: 2.574 MB / 1.24 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/8.016, allocations: 12.06 kB / 1.24 GB, free: 10 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 50 --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)