Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008511/0.008511, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.002063/0.002063, allocations: 197.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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.694/2.694, allocations: 437.1 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001354, allocations: 63.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2838, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.00185/0.2857, allocations: 0.5456 MB / 1.167 GB, free: 6.801 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.2874, allocations: 1.113 MB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.2874, allocations: 0 / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.865e-05/0.2875, allocations: 15.92 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.365e-05/0.2876, allocations: 0 / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.2881, allocations: 174.9 kB / 1.168 GB, free: 5.496 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.2882, allocations: 15.92 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.2883, allocations: 7.984 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.358e-05/0.2883, allocations: 4 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.323e-05/0.2883, allocations: 8 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.2884, allocations: 0 / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.2888, allocations: 203.6 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.992e-05/0.2888, allocations: 7.938 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.65e-05/0.2889, allocations: 7.938 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003257/0.2892, allocations: 199.7 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2892, allocations: 4 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2892, allocations: 0 / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2892, allocations: 0 / 1.168 GB, free: 5.047 MB / 0.92 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.0004218/0.2897, allocations: 378.9 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2897, allocations: 12.03 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.522e-05/0.2898, allocations: 106 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.2898, allocations: 76.22 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001695/0.29, allocations: 239.7 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.902e-05/0.2901, allocations: 154.9 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.49e-05/0.2902, allocations: 154.9 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.149e-05/0.2902, allocations: 116.8 kB / 1.17 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.2903, allocations: 75.28 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.314e-05/0.2903, allocations: 150.6 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.536e-05/0.2904, allocations: 154.6 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.862e-05/0.2905, allocations: 150.6 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.2908, allocations: 450 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.74e-05/0.2909, allocations: 173.1 kB / 1.171 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.2909, allocations: 84.14 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.2909, allocations: 79.22 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.291, allocations: 109.8 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.291, allocations: 0 / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 8.793e-05/0.2911, allocations: 33.69 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.2911, allocations: 126.7 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.2913, allocations: 105.8 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.2913, allocations: 33.7 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.2913, allocations: 80.14 kB / 1.171 GB, free: 1.848 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-06/0.2913, allocations: 3.938 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.2914, allocations: 21.7 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2915, allocations: 310.8 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.2915, allocations: 8 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.2916, allocations: 19.92 kB / 1.172 GB, free: 1.477 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.922e-05/0.2916, allocations: 24.94 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2916, allocations: 0 / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001305/0.2918, allocations: 57.61 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2918, allocations: 8 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2918, allocations: 0 / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2918, allocations: 0 / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.2918, allocations: 0 / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2918, allocations: 3.938 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.2919, allocations: 7.938 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.2919, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 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 9.937e-05/0.2921, allocations: 193.1 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.938e-05/0.2921, allocations: 104.9 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.329e-05/0.2922, allocations: 112.1 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.748e-05/0.2922, allocations: 184.3 kB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-05/0.2923, allocations: 176.3 kB / 1.172 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.764e-05/0.2924, allocations: 188.2 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.2926, allocations: 401.2 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-05/0.2927, allocations: 104.9 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.2927, allocations: 108.9 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.358e-05/0.2928, allocations: 180.3 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.2929, allocations: 184.2 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.316e-05/0.2929, allocations: 176.3 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.049e-05/0.293, allocations: 188.2 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.2931, allocations: 303.8 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/0.2932, allocations: 190 kB / 1.174 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.828e-05/0.2933, allocations: 184.3 kB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.2934, allocations: 108.9 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.2934, allocations: 176.3 kB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.2935, allocations: 105 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.94e-05/0.2935, allocations: 79.28 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2935, allocations: 0 / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003402/0.2939, allocations: 63.67 kB / 1.175 GB, free: 13.71 MB / 0.9356 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.0009114/0.2948, allocations: 1.02 MB / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.242e-05/0.2949, allocations: 12 kB / 1.176 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2949, allocations: 3.938 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.797e-06/0.2949, allocations: 0 / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.2952, allocations: 463.7 kB / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.2963, allocations: 1.319 MB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.2965, allocations: 0.6729 MB / 1.178 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.621e-05/0.2966, allocations: 11.98 kB / 1.178 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.2967, allocations: 11.44 kB / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.2967, allocations: 0 / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.3153, allocations: 2.576 MB / 1.181 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.959/8.275, allocations: 6.281 kB / 1.181 GB, free: 7.648 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_ExchangeWithPassPythonObject.fmu > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject.pipe 2>&1)