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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004929/0.004929, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.0011/0.0011, allocations: 192.1 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.859/2.859, allocations: 469.4 MB / 0.7421 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 63.91 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8527/0.8544, allocations: 159.1 MB / 1.22 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.ExchangeWithPassPythonObject): time 0.001823/0.8563, allocations: 0.5296 MB / 1.22 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.8579, allocations: 1.132 MB / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.8579, allocations: 0 / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.337e-05/0.858, allocations: 12 kB / 1.221 GB, free: 0.5664 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.436e-05/0.8581, allocations: 3.938 kB / 1.221 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.8586, allocations: 163.5 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.783e-05/0.8587, allocations: 23.92 kB / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.8588, allocations: 0 / 1.222 GB, free: 388 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.821e-05/0.8588, allocations: 11.97 kB / 1.222 GB, free: 376 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.8588, allocations: 7.938 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.8589, allocations: 0 / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003794/0.8592, allocations: 203.7 kB / 1.222 GB, free: 164 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.614e-05/0.8593, allocations: 4 kB / 1.222 GB, free: 160 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.8593, allocations: 4 kB / 1.222 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.8597, allocations: 191.3 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.8597, allocations: 4 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8597, allocations: 0 / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.8597, allocations: 7.938 kB / 1.222 GB, free: 15.95 MB / 0.9512 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.0003782/0.8601, allocations: 371 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.8601, allocations: 8.625 kB / 1.222 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.8602, allocations: 106 kB / 1.222 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.081e-05/0.8602, allocations: 80.2 kB / 1.223 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.8604, allocations: 247.5 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.8604, allocations: 150.9 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-05/0.8605, allocations: 158.9 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.966e-05/0.8606, allocations: 108.9 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.8606, allocations: 75.28 kB / 1.223 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/0.8607, allocations: 150.6 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/0.8607, allocations: 154.6 kB / 1.223 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.308e-05/0.8608, allocations: 158.5 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002711/0.8611, allocations: 449.9 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.157e-05/0.8611, allocations: 165.1 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.8612, allocations: 81.11 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.8612, allocations: 87.2 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.8613, allocations: 121.8 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.8613, allocations: 0 / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.189e-05/0.8614, allocations: 37.64 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.8614, allocations: 126.7 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.8615, allocations: 105.8 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.8616, allocations: 25.7 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.8616, allocations: 88.14 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.8616, allocations: 0 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.8617, allocations: 17.72 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.8618, allocations: 310.8 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.8618, allocations: 7.984 kB / 1.225 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.03e-05/0.8618, allocations: 12 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.089e-05/0.8619, allocations: 24.78 kB / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8619, allocations: 0 / 1.225 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001318/0.862, allocations: 61.72 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.862, allocations: 4 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.8621, allocations: 0 / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.8621, allocations: 0 / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.254e-06/0.8621, allocations: 3.984 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.8621, allocations: 0 / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.097e-05/0.8622, allocations: 4 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.8622, allocations: 0 / 1.225 GB, free: 12.29 MB / 0.9512 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.557e-05/0.8623, allocations: 193.1 kB / 1.225 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.084e-05/0.8624, allocations: 108.9 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.8624, allocations: 112.1 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.392e-05/0.8625, allocations: 184.2 kB / 1.226 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.525e-05/0.8625, allocations: 180.2 kB / 1.226 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.465e-05/0.8626, allocations: 176.3 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.8628, allocations: 409.2 kB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.831e-05/0.8629, allocations: 109 kB / 1.227 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.8629, allocations: 109 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.487e-05/0.863, allocations: 180.2 kB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.863, allocations: 180.2 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.475e-05/0.8631, allocations: 180.2 kB / 1.227 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-05/0.8632, allocations: 184.3 kB / 1.228 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.8633, allocations: 307.7 kB / 1.228 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.8634, allocations: 194 kB / 1.228 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.403e-05/0.8634, allocations: 180.2 kB / 1.228 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.8635, allocations: 105 kB / 1.228 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.8636, allocations: 188.2 kB / 1.228 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.772e-05/0.8636, allocations: 105 kB / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.8637, allocations: 79.28 kB / 1.229 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8637, allocations: 0 / 1.229 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003399/0.864, allocations: 59.73 kB / 1.229 GB, free: 8.613 MB / 0.9512 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.0008971/0.8649, allocations: 1.011 MB / 1.23 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.741e-05/0.865, allocations: 15.97 kB / 1.23 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.865, allocations: 4 kB / 1.23 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.8651, allocations: 0 / 1.23 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.8654, allocations: 454.2 kB / 1.23 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.8664, allocations: 1.329 MB / 1.231 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.8667, allocations: 0.6729 MB / 1.232 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.839e-05/0.8668, allocations: 15.84 kB / 1.232 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.8668, allocations: 15.42 kB / 1.232 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.8668, allocations: 0 / 1.232 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.8874, allocations: 2.576 MB / 1.235 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/8.673, allocations: 16.11 kB / 1.235 GB, free: 2.57 MB / 0.9512 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)