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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 186 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 225.6 MB / 249.3 MB, free: 3.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.532/2.532, allocations: 476.7 MB / 0.7628 GB, free: 15.23 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 71.88 kB / 1.107 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7763/0.7781, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001584/0.7797, allocations: 0.5598 MB / 1.272 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.7811, allocations: 1.266 MB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.031e-05/0.7811, allocations: 0.875 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.373e-05/0.7812, allocations: 7.266 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.028e-05/0.7813, allocations: 0.6094 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.7818, allocations: 281.3 kB / 1.273 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.782, allocations: 80.45 kB / 1.274 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.433e-05/0.782, allocations: 9.938 kB / 1.274 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.589e-05/0.7821, allocations: 46.05 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.688e-05/0.7821, allocations: 40.56 kB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.7822, allocations: 3.312 kB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.7825, allocations: 202.2 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.7825, allocations: 17.3 kB / 1.274 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.7826, allocations: 31.17 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.7829, allocations: 255.8 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.7829, allocations: 1.125 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7829, allocations: 0 / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.7829, allocations: 0 / 1.274 GB, free: 6.184 MB / 0.9981 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.000314/0.7832, allocations: 452.9 kB / 1.275 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.7832, allocations: 9.344 kB / 1.275 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.09e-05/0.7832, allocations: 106 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.767e-05/0.7833, allocations: 82.44 kB / 1.275 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.867e-05/0.7834, allocations: 260 kB / 1.275 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.7834, allocations: 157.9 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.7835, allocations: 161.7 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.273e-05/0.7835, allocations: 106.2 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.7835, allocations: 75.28 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.7835, allocations: 155.8 kB / 1.276 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.7835, allocations: 150.6 kB / 1.276 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.7836, allocations: 151.7 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.7837, allocations: 472.7 kB / 1.276 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.592e-05/0.7838, allocations: 171 kB / 1.276 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.7838, allocations: 80.14 kB / 1.277 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.7838, allocations: 84.06 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.7838, allocations: 116.3 kB / 1.277 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.7838, allocations: 0 / 1.277 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.943e-05/0.7839, allocations: 36.72 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.7839, allocations: 126.7 kB / 1.277 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.784, allocations: 151.2 kB / 1.277 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.784, allocations: 28.14 kB / 1.277 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.7841, allocations: 89.42 kB / 1.277 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.7841, allocations: 4 kB / 1.277 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.7842, allocations: 41.33 kB / 1.277 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.637e-05/0.7842, allocations: 319.4 kB / 1.278 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.7843, allocations: 58.94 kB / 1.278 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.87e-05/0.7844, allocations: 65.23 kB / 1.278 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.7845, allocations: 93.09 kB / 1.278 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7845, allocations: 4.062 kB / 1.278 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003497/0.7849, allocations: 234.2 kB / 1.278 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.7849, allocations: 41.25 kB / 1.278 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.7849, allocations: 4.766 kB / 1.278 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.7849, allocations: 1.062 kB / 1.278 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.7849, allocations: 0 / 1.278 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.7849, allocations: 0 / 1.278 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002665/0.7852, allocations: 23.95 kB / 1.278 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.7852, allocations: 18.11 kB / 1.278 GB, free: 2.43 MB / 0.9981 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.0001194/0.7853, allocations: 194.2 kB / 1.278 GB, free: 18.24 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.7854, allocations: 125.6 kB / 1.278 GB, free: 18.12 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.883e-05/0.7855, allocations: 108.5 kB / 1.278 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.66e-05/0.7855, allocations: 181.2 kB / 1.279 GB, free: 17.82 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.665e-05/0.7856, allocations: 177.3 kB / 1.279 GB, free: 17.64 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-05/0.7857, allocations: 178.3 kB / 1.279 GB, free: 17.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000209/0.7859, allocations: 421.7 kB / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.892e-05/0.7859, allocations: 113.8 kB / 1.279 GB, free: 16.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.7859, allocations: 109.7 kB / 1.28 GB, free: 16.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.298e-05/0.786, allocations: 178.6 kB / 1.28 GB, free: 16.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.7861, allocations: 182.4 kB / 1.28 GB, free: 16.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-05/0.7861, allocations: 181.4 kB / 1.28 GB, free: 16.23 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.691e-05/0.7862, allocations: 182.3 kB / 1.28 GB, free: 16.04 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.7863, allocations: 311 kB / 1.281 GB, free: 15.72 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.578e-05/0.7864, allocations: 192.6 kB / 1.281 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.256e-05/0.7865, allocations: 183.2 kB / 1.281 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.751e-05/0.7866, allocations: 103.7 kB / 1.281 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.7866, allocations: 189.3 kB / 1.281 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.7867, allocations: 102.1 kB / 1.281 GB, free: 14.93 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.034e-05/0.7867, allocations: 106.5 kB / 1.281 GB, free: 14.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7867, allocations: 0.7812 kB / 1.281 GB, free: 14.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003273/0.7871, allocations: 71.38 kB / 1.281 GB, free: 14.82 MB / 1.014 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.001034/0.7881, allocations: 1.042 MB / 1.282 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.7883, allocations: 150.5 kB / 1.283 GB, free: 13.85 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.7883, allocations: 0 / 1.283 GB, free: 13.85 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.7883, allocations: 1.094 kB / 1.283 GB, free: 13.85 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.7887, allocations: 453.8 kB / 1.283 GB, free: 13.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.7903, allocations: 1.861 MB / 1.285 GB, free: 11.94 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.7906, allocations: 0.6841 MB / 1.286 GB, free: 11.24 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.187e-05/0.7906, allocations: 52.84 kB / 1.286 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.187e-05/0.7907, allocations: 14.81 kB / 1.286 GB, free: 11.22 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.7907, allocations: 0 / 1.286 GB, free: 11.22 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.8179, allocations: 3.721 MB / 1.289 GB, free: 10.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.234/8.052, allocations: 11.2 kB / 1.289 GB, free: 10.41 MB / 1.014 GB " [Timeout remaining time 292] (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) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 13.734496931996546]