Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.Exchange,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,fileNamePrefix="Buildings_10_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange",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.001156/0.001156, 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.001193/0.001193, allocations: 193.8 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.49/2.49, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 71.89 kB / 0.8694 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5227/0.524, allocations: 151.6 MB / 1.017 GB, free: 2.418 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001691/0.5257, allocations: 0.5379 MB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.5272, allocations: 1.194 MB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.5273, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 7.897e-05/0.5273, allocations: 11.98 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.5274, allocations: 0 / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.528, allocations: 275.3 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.5281, allocations: 75.88 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.872e-05/0.5282, allocations: 11.98 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.5282, allocations: 35.86 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.5283, allocations: 39.84 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.5283, allocations: 4 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/0.5287, allocations: 187.7 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.5287, allocations: 7.938 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.111e-05/0.5288, allocations: 35.84 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.5291, allocations: 251.5 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.5291, allocations: 4 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5291, allocations: 4 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.5291, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 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.0003766/0.5295, allocations: 443.3 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.5295, allocations: 12.03 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.5296, allocations: 106 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.223e-05/0.5297, allocations: 84.12 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.5298, allocations: 255.6 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.5299, allocations: 158.9 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.987e-05/0.5299, allocations: 154.9 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.221e-05/0.53, allocations: 104.9 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.53, allocations: 83.27 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.826e-05/0.5301, allocations: 154.5 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.965e-05/0.5301, allocations: 154.6 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.917e-05/0.5301, allocations: 154.6 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.5304, allocations: 473.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.646e-05/0.5305, allocations: 165.1 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.5305, allocations: 80.14 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.5305, allocations: 91.16 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.5306, allocations: 113.9 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.5306, allocations: 3.938 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.934e-05/0.5307, allocations: 33.7 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.5307, allocations: 130.6 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.5309, allocations: 149.7 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.5309, allocations: 25.7 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.531, allocations: 100.1 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.814e-06/0.531, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.279e-05/0.531, allocations: 41.69 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.417e-05/0.5311, allocations: 318.8 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.5312, allocations: 59.94 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.764e-05/0.5313, allocations: 59.89 kB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.5315, allocations: 94.52 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5315, allocations: 4 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003507/0.5318, allocations: 235.1 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.5319, allocations: 45.69 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.5319, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.5319, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.5319, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5319, allocations: 3.984 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.5322, allocations: 23.83 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.275e-05/0.5323, allocations: 15.98 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI2[2],yI2[1],yI1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001041/0.5324, allocations: 205.1 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.198e-05/0.5324, allocations: 112.8 kB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.5325, allocations: 108.5 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.076e-05/0.5325, allocations: 180.2 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.976e-05/0.5326, allocations: 180.2 kB / 1.025 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-05/0.5327, allocations: 180.3 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.5329, allocations: 417.2 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.239e-05/0.5329, allocations: 109.1 kB / 1.025 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.859e-05/0.5329, allocations: 112.9 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-05/0.533, allocations: 180.3 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.533, allocations: 180.2 kB / 1.026 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.702e-05/0.5331, allocations: 184.2 kB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-05/0.5331, allocations: 184.3 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.5332, allocations: 311.7 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.5333, allocations: 194 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.5334, allocations: 176.3 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.5334, allocations: 105 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.5335, allocations: 184.2 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.5335, allocations: 105 kB / 1.027 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.252e-05/0.5336, allocations: 104.2 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5336, allocations: 0 / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003234/0.5339, allocations: 71.92 kB / 1.027 GB, free: 7.711 MB / 0.7794 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.00503/0.539, allocations: 1.044 MB / 1.028 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.5393, allocations: 211.3 kB / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5394, allocations: 0 / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.5394, allocations: 0 / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.5398, allocations: 469.6 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.001893/0.5417, allocations: 1.846 MB / 1.031 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.542, allocations: 0.6807 MB / 1.032 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.257e-05/0.5421, allocations: 55.8 kB / 1.032 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.852e-05/0.5421, allocations: 11.44 kB / 1.032 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.5421, allocations: 4.031 kB / 1.032 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5012/1.043, allocations: 3.684 MB / 1.035 GB, free: 15.72 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.262/8.306, allocations: 3.828 kB / 1.035 GB, free: 15.72 MB / 0.795 GB (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_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_Exchange.fmu > Buildings_10_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1)