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.007211/0.007211, allocations: 103 kB / 15.74 MB, free: 6.043 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.001832/0.001832, allocations: 196.7 kB / 16.67 MB, free: 5.965 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.728/2.728, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 68.12 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2995, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.00171/0.3012, allocations: 0.5361 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3031, allocations: 1.199 MB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.3031, allocations: 0 / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.305e-05/0.3032, allocations: 8 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.452e-05/0.3033, allocations: 3.938 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006905/0.304, allocations: 275.2 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.3042, allocations: 79.86 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.711e-05/0.3042, allocations: 4 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/0.3043, allocations: 43.91 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.345e-05/0.3044, allocations: 39.89 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3044, allocations: 4 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.3048, allocations: 203.6 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.3048, allocations: 11.94 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.3049, allocations: 27.91 kB / 1.169 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.3053, allocations: 267.5 kB / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3053, allocations: 0 / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3053, allocations: 0 / 1.169 GB, free: 4.609 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.3053, allocations: 0 / 1.169 GB, free: 4.609 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.0005136/0.3058, allocations: 448.5 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3059, allocations: 12.03 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.735e-05/0.306, allocations: 106 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.623e-05/0.3061, allocations: 84.22 kB / 1.169 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.3063, allocations: 255.5 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.609e-05/0.3064, allocations: 158.9 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.3065, allocations: 158.9 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.222e-05/0.3065, allocations: 112.9 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.705e-05/0.3066, allocations: 75.28 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.3067, allocations: 162.5 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/0.3067, allocations: 150.6 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.354e-05/0.3068, allocations: 150.6 kB / 1.171 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.3072, allocations: 473.9 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.935e-05/0.3073, allocations: 173.1 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.3073, allocations: 80.14 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.3074, allocations: 83.22 kB / 1.171 GB, free: 1.805 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.3074, allocations: 105.8 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3074, allocations: 0 / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0001052/0.3076, allocations: 37.59 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.3076, allocations: 134.7 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.3078, allocations: 144.1 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.3078, allocations: 29.7 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.3079, allocations: 92.09 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.3079, allocations: 0 / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/0.308, allocations: 45.69 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3082, allocations: 318.8 kB / 1.172 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3083, allocations: 59.95 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3084, allocations: 63.94 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.3085, allocations: 94.53 kB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3086, allocations: 0 / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004257/0.309, allocations: 235.1 kB / 1.173 GB, free: 400 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.309, allocations: 45.62 kB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3091, allocations: 0 / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3091, allocations: 0 / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.3091, allocations: 4.062 kB / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.3091, allocations: 0 / 1.173 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.3094, allocations: 31.98 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.3095, allocations: 12 kB / 1.173 GB, free: 300 kB / 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: 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.0001577/0.3096, allocations: 197.1 kB / 1.173 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-05/0.3097, allocations: 112.9 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.3098, allocations: 120.5 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.476e-05/0.3099, allocations: 176.3 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-05/0.31, allocations: 184.3 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-05/0.31, allocations: 180.2 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.3103, allocations: 409.2 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.903e-05/0.3104, allocations: 112.8 kB / 1.174 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.3104, allocations: 105 kB / 1.174 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.736e-05/0.3105, allocations: 184.2 kB / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.189e-05/0.3106, allocations: 184.3 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.794e-05/0.3107, allocations: 176.3 kB / 1.175 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.054e-05/0.3108, allocations: 180.2 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.311, allocations: 323.6 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.032e-05/0.3111, allocations: 190 kB / 1.175 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.454e-05/0.3112, allocations: 180.2 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.3113, allocations: 104.9 kB / 1.176 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.3114, allocations: 180.3 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.3114, allocations: 108.9 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.336e-05/0.3115, allocations: 103.2 kB / 1.176 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3115, allocations: 4 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000365/0.3119, allocations: 75.67 kB / 1.176 GB, free: 12.55 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.003601/0.3155, allocations: 1.025 MB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003535/0.3159, allocations: 219.2 kB / 1.177 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3159, allocations: 0 / 1.177 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.446e-06/0.3159, allocations: 4.062 kB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.3163, allocations: 459.7 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.3185, allocations: 1.847 MB / 1.18 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.3188, allocations: 0.6807 MB / 1.18 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.029e-05/0.3189, allocations: 51.86 kB / 1.18 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.3189, allocations: 15.47 kB / 1.18 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of SimCode: time 3.827e-06/0.319, allocations: 0 / 1.18 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.3465, allocations: 3.737 MB / 1.184 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.473/8.82, allocations: 10.25 kB / 1.184 GB, free: 4.512 MB / 0.9356 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)