Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Exchange,fileNamePrefix="Buildings_11_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_11_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.004385/0.004385, allocations: 98.98 kB / 15.73 MB, free: 6.449 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.001217/0.001217, allocations: 197.4 kB / 16.68 MB, free: 6.348 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.344 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 2.837/2.837, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.83 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2747, allocations: 159.1 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001742/0.2765, allocations: 0.5496 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.2783, allocations: 1.202 MB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.005e-05/0.2783, allocations: 0 / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.024e-05/0.2784, allocations: 3.984 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.2785, allocations: 7.938 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/0.2792, allocations: 283 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.2793, allocations: 71.88 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.857e-05/0.2794, allocations: 15.91 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.2794, allocations: 39.92 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.347e-05/0.2795, allocations: 39.89 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.2796, allocations: 4 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004272/0.28, allocations: 211.6 kB / 1.223 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.28, allocations: 4 kB / 1.223 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.2801, allocations: 31.84 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.2805, allocations: 255.3 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2805, allocations: 0 / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.113e-06/0.2805, allocations: 0 / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.2805, allocations: 0 / 1.223 GB, free: 11.64 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.0004667/0.281, allocations: 452.5 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.281, allocations: 8.031 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.741e-05/0.2811, allocations: 106 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.379e-05/0.2812, allocations: 88.2 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.2814, allocations: 255.5 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/0.2815, allocations: 154.9 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.148e-05/0.2815, allocations: 158.9 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.134e-05/0.2816, allocations: 112.9 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.2817, allocations: 75.28 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-05/0.2817, allocations: 154.6 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.749e-05/0.2818, allocations: 150.6 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.438e-05/0.2819, allocations: 154.6 kB / 1.225 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.2822, allocations: 473.9 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/0.2823, allocations: 169.1 kB / 1.225 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.2823, allocations: 84.08 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.2824, allocations: 79.22 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/0.2824, allocations: 113.8 kB / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.2824, allocations: 0 / 1.225 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.347e-05/0.2825, allocations: 41.64 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.638e-05/0.2826, allocations: 126.7 kB / 1.226 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.2828, allocations: 143.5 kB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.2828, allocations: 33.64 kB / 1.226 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.2829, allocations: 96.11 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-06/0.2829, allocations: 4 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-05/0.283, allocations: 45.7 kB / 1.226 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2831, allocations: 314.8 kB / 1.226 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.2832, allocations: 63.95 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.2834, allocations: 59.94 kB / 1.226 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.2835, allocations: 98.58 kB / 1.226 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2835, allocations: 0 / 1.226 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004158/0.2839, allocations: 231.2 kB / 1.227 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.284, allocations: 41.75 kB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.284, allocations: 4 kB / 1.227 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.284, allocations: 4 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.475e-06/0.284, allocations: 3.938 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.284, allocations: 0 / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.2843, allocations: 23.91 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.2844, allocations: 19.98 kB / 1.227 GB, free: 7.312 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: 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.0001255/0.2845, allocations: 189.1 kB / 1.227 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.882e-05/0.2846, allocations: 120.9 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.163e-05/0.2847, allocations: 112.5 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.126e-05/0.2848, allocations: 184.1 kB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-05/0.2848, allocations: 176.3 kB / 1.227 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.732e-05/0.2849, allocations: 188.2 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.2852, allocations: 413.2 kB / 1.228 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/0.2852, allocations: 104.9 kB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.92e-05/0.2853, allocations: 112.9 kB / 1.228 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.786e-05/0.2853, allocations: 176.3 kB / 1.228 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/0.2854, allocations: 180.2 kB / 1.229 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-05/0.2855, allocations: 180.2 kB / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.508e-05/0.2856, allocations: 188.2 kB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.2857, allocations: 303.8 kB / 1.229 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.002e-05/0.2858, allocations: 193.9 kB / 1.229 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.452e-05/0.2859, allocations: 180.3 kB / 1.23 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.286, allocations: 104.9 kB / 1.23 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.685e-05/0.2861, allocations: 180.3 kB / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.2862, allocations: 105 kB / 1.23 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.842e-05/0.2862, allocations: 106.3 kB / 1.23 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2862, allocations: 3.938 kB / 1.23 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003367/0.2866, allocations: 71.73 kB / 1.23 GB, free: 3.59 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.001192/0.2878, allocations: 1.056 MB / 1.231 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.2881, allocations: 215.3 kB / 1.231 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2881, allocations: 0 / 1.231 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.55e-06/0.2881, allocations: 4 kB / 1.231 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.2885, allocations: 455.6 kB / 1.232 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.2904, allocations: 1.861 MB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.2907, allocations: 0.6768 MB / 1.234 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.651e-05/0.2908, allocations: 51.86 kB / 1.234 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.2908, allocations: 15.44 kB / 1.234 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.2908, allocations: 0 / 1.234 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.3157, allocations: 3.729 MB / 1.238 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.553/7.868, allocations: 4.688 kB / 1.238 GB, free: 11.52 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange.fmu > Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.pipe 2>&1)