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.001324/0.001324, allocations: 104.9 kB / 16.4 MB, free: 6.496 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.001338/0.001338, allocations: 191.7 kB / 19.36 MB, free: 3.746 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.376/1.376, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.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.682/2.682, allocations: 469.8 MB / 0.7491 GB, free: 3.184 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.001963/0.001963, allocations: 67.89 kB / 1.073 GB, free: 180 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.8106, allocations: 159.1 MB / 1.229 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.002067/0.8127, allocations: 0.5449 MB / 1.229 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.8147, allocations: 1.2 MB / 1.23 GB, free: 3.074 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.8148, allocations: 4 kB / 1.23 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.8149, allocations: 7.938 kB / 1.23 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.8149, allocations: 0 / 1.23 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006897/0.8156, allocations: 279.3 kB / 1.231 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.8158, allocations: 71.86 kB / 1.231 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.8159, allocations: 4 kB / 1.231 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.539e-05/0.8159, allocations: 43.89 kB / 1.231 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.816, allocations: 47.83 kB / 1.231 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.8161, allocations: 4 kB / 1.231 GB, free: 2.621 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.8165, allocations: 199.7 kB / 1.231 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.052e-05/0.8165, allocations: 15.94 kB / 1.231 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.8166, allocations: 35.78 kB / 1.231 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.8169, allocations: 257.2 kB / 1.231 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.817, allocations: 0 / 1.231 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.333e-06/0.817, allocations: 0 / 1.231 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.817, allocations: 0 / 1.231 GB, free: 2.125 MB / 0.9356 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.000519/0.8175, allocations: 444.5 kB / 1.232 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.8175, allocations: 8.031 kB / 1.232 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.895e-05/0.8176, allocations: 110 kB / 1.232 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.8177, allocations: 92.22 kB / 1.232 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.8179, allocations: 259.5 kB / 1.232 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.641e-05/0.818, allocations: 150.9 kB / 1.232 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-05/0.8181, allocations: 158.9 kB / 1.232 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.244e-05/0.8182, allocations: 108.9 kB / 1.233 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/0.8182, allocations: 79.27 kB / 1.233 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/0.8183, allocations: 154.6 kB / 1.233 GB, free: 492 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.606e-05/0.8184, allocations: 150.6 kB / 1.233 GB, free: 340 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.234e-05/0.8185, allocations: 154.5 kB / 1.233 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004055/0.8189, allocations: 469.9 kB / 1.233 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.819, allocations: 181.2 kB / 1.234 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.8191, allocations: 80.14 kB / 1.234 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.8191, allocations: 79.22 kB / 1.234 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.185e-05/0.8192, allocations: 109.8 kB / 1.234 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.8192, allocations: 0 / 1.234 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 0.0001101/0.8193, allocations: 37.66 kB / 1.234 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/0.8194, allocations: 130.7 kB / 1.234 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.8196, allocations: 145.7 kB / 1.234 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.8196, allocations: 29.7 kB / 1.234 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.756e-05/0.8197, allocations: 88.14 kB / 1.234 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.8197, allocations: 0 / 1.234 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.92e-05/0.8198, allocations: 41.69 kB / 1.234 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.82, allocations: 322.8 kB / 1.235 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.8201, allocations: 55.95 kB / 1.235 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.8202, allocations: 71.94 kB / 1.235 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.8204, allocations: 94.53 kB / 1.235 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8204, allocations: 0 / 1.235 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004192/0.8208, allocations: 235.1 kB / 1.235 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.8209, allocations: 47.56 kB / 1.235 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.8209, allocations: 0 / 1.235 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.8209, allocations: 0 / 1.235 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.8209, allocations: 0 / 1.235 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.8209, allocations: 4 kB / 1.235 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.8213, allocations: 27.97 kB / 1.235 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.8213, allocations: 12 kB / 1.235 GB, free: 13.81 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: 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.0001706/0.8215, allocations: 197.8 kB / 1.235 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-05/0.8216, allocations: 116.8 kB / 1.236 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.868e-05/0.8217, allocations: 108.5 kB / 1.236 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-05/0.8218, allocations: 180.3 kB / 1.236 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.744e-05/0.8219, allocations: 188.2 kB / 1.236 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.068e-05/0.822, allocations: 176.4 kB / 1.236 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003067/0.8223, allocations: 417.2 kB / 1.237 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.047e-05/0.8224, allocations: 108.9 kB / 1.237 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.8224, allocations: 101 kB / 1.237 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.903e-05/0.8225, allocations: 184.2 kB / 1.237 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.846e-05/0.8226, allocations: 184.3 kB / 1.237 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001027/0.8227, allocations: 184.1 kB / 1.237 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-05/0.8228, allocations: 180.2 kB / 1.237 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.823, allocations: 319.7 kB / 1.238 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.8231, allocations: 190 kB / 1.238 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.826e-05/0.8232, allocations: 184.2 kB / 1.238 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.02e-05/0.8234, allocations: 109 kB / 1.238 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.8235, allocations: 180.2 kB / 1.238 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.8235, allocations: 101 kB / 1.238 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001012/0.8236, allocations: 110.2 kB / 1.239 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8236, allocations: 4 kB / 1.239 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003915/0.824, allocations: 71.73 kB / 1.239 GB, free: 10.07 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.001353/0.8254, allocations: 1.033 MB / 1.24 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003857/0.8258, allocations: 215.3 kB / 1.24 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8258, allocations: 0 / 1.24 GB, free: 8.859 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.61e-06/0.8258, allocations: 4.062 kB / 1.24 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.8263, allocations: 463.6 kB / 1.24 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.8283, allocations: 1.861 MB / 1.242 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.8286, allocations: 0.6768 MB / 1.243 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.406e-05/0.8287, allocations: 51.86 kB / 1.243 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.8288, allocations: 7.438 kB / 1.243 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.8288, allocations: 4.031 kB / 1.243 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.8554, allocations: 3.734 MB / 1.246 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/9.119, allocations: 22.56 kB / 1.247 GB, free: 2.008 MB / 0.9512 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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: 15.176416079048067] Failed to read output from testmodel.py, exit status != 0: 9.408548552077264 9.432368773 8.611164113 Calling exit ...