Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 70.5 kB / 19.76 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 160.7 kB / 23 MB, free: 4.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 9.285 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.949/2.949, allocations: 394.6 MB / 0.639 GB, free: 11.72 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 71.89 kB / 1.01 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.045, allocations: 181.9 MB / 1.187 GB, free: 16.06 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001936/1.047, allocations: 0.5673 MB / 1.188 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001838/1.048, allocations: 1.264 MB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/1.048, allocations: 1.094 kB / 1.189 GB, free: 14.87 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/1.049, allocations: 18.86 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.937e-05/1.049, allocations: 2.047 kB / 1.189 GB, free: 14.86 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/1.049, allocations: 286 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000156/1.05, allocations: 76.75 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/1.05, allocations: 2.312 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.932e-05/1.05, allocations: 51.64 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 9.315e-05/1.05, allocations: 42.7 kB / 1.19 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.556e-05/1.05, allocations: 4 kB / 1.19 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/1.05, allocations: 222 kB / 1.19 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.074e-05/1.05, allocations: 12.16 kB / 1.19 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/1.05, allocations: 28.14 kB / 1.19 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004016/1.051, allocations: 254.8 kB / 1.19 GB, free: 14.51 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/1.051, allocations: 1.094 kB / 1.19 GB, free: 14.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.593e-06/1.051, allocations: 4 kB / 1.19 GB, free: 14.5 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.643e-06/1.051, allocations: 0.5156 kB / 1.19 GB, free: 14.5 MB / 1.076 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.0004041/1.051, allocations: 370.1 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.051, allocations: 9.469 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/1.051, allocations: 86.53 kB / 1.19 GB, free: 14.09 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/1.051, allocations: 195.5 kB / 1.191 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/1.051, allocations: 153.6 kB / 1.191 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/1.051, allocations: 160.3 kB / 1.191 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.605e-05/1.051, allocations: 114 kB / 1.191 GB, free: 13.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.051, allocations: 79.28 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/1.051, allocations: 155.1 kB / 1.191 GB, free: 13.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/1.051, allocations: 152.1 kB / 1.191 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.218e-05/1.052, allocations: 152.1 kB / 1.192 GB, free: 12.94 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/1.052, allocations: 421 kB / 1.192 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.115e-05/1.052, allocations: 170.7 kB / 1.192 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/1.052, allocations: 84.92 kB / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/1.052, allocations: 76.69 kB / 1.192 GB, free: 12.18 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/1.052, allocations: 111.9 kB / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/1.052, allocations: 0 / 1.192 GB, free: 12.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.986e-05/1.052, allocations: 41.47 kB / 1.192 GB, free: 12.02 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/1.052, allocations: 126.7 kB / 1.193 GB, free: 11.89 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/1.052, allocations: 150.5 kB / 1.193 GB, free: 11.77 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/1.052, allocations: 28.53 kB / 1.193 GB, free: 11.73 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/1.052, allocations: 90.64 kB / 1.193 GB, free: 11.65 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/1.052, allocations: 0 / 1.193 GB, free: 11.65 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.218e-05/1.052, allocations: 47.05 kB / 1.193 GB, free: 11.62 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.812e-05/1.052, allocations: 318.6 kB / 1.193 GB, free: 11.31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/1.052, allocations: 99.28 kB / 1.193 GB, free: 11.27 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/1.053, allocations: 99.86 kB / 1.193 GB, free: 11.22 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/1.053, allocations: 95.84 kB / 1.193 GB, free: 11.17 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.053, allocations: 0.7969 kB / 1.193 GB, free: 11.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000432/1.053, allocations: 272.2 kB / 1.194 GB, free: 11.04 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/1.053, allocations: 45.95 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.053, allocations: 0.5625 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.053, allocations: 1.156 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/1.053, allocations: 0 / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/1.053, allocations: 0.8438 kB / 1.194 GB, free: 11.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/1.054, allocations: 27.56 kB / 1.194 GB, free: 11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/1.054, allocations: 24.17 kB / 1.194 GB, free: 10.99 MB / 1.076 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 9.428e-05/1.054, allocations: 191.7 kB / 1.194 GB, free: 10.8 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/1.054, allocations: 117 kB / 1.194 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/1.054, allocations: 116 kB / 1.194 GB, free: 10.57 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.448e-05/1.054, allocations: 183 kB / 1.194 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/1.054, allocations: 178.1 kB / 1.195 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.602e-05/1.054, allocations: 182.1 kB / 1.195 GB, free: 10.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/1.054, allocations: 370.3 kB / 1.195 GB, free: 9.633 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/1.054, allocations: 102.8 kB / 1.195 GB, free: 9.527 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/1.054, allocations: 110.7 kB / 1.195 GB, free: 9.414 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.523e-05/1.054, allocations: 177.6 kB / 1.195 GB, free: 9.234 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/1.054, allocations: 186.3 kB / 1.196 GB, free: 9.047 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.337e-05/1.054, allocations: 182.4 kB / 1.196 GB, free: 8.863 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-05/1.054, allocations: 186.4 kB / 1.196 GB, free: 8.676 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.972e-05/1.054, allocations: 313.3 kB / 1.196 GB, free: 8.355 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/1.054, allocations: 108.1 kB / 1.196 GB, free: 8.246 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/1.054, allocations: 182 kB / 1.197 GB, free: 8.062 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.546e-05/1.054, allocations: 106.9 kB / 1.197 GB, free: 7.953 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/1.054, allocations: 183.1 kB / 1.197 GB, free: 7.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/1.054, allocations: 102.8 kB / 1.197 GB, free: 7.664 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.364e-05/1.054, allocations: 109.1 kB / 1.197 GB, free: 7.582 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.054, allocations: 0 / 1.197 GB, free: 7.582 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003782/1.055, allocations: 71.81 kB / 1.197 GB, free: 7.562 MB / 1.076 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.004672/1.059, allocations: 410.5 kB / 1.198 GB, free: 7.32 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000326/1.06, allocations: 191.7 kB / 1.198 GB, free: 7.203 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.06, allocations: 0.9375 kB / 1.198 GB, free: 7.203 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/1.06, allocations: 0 / 1.198 GB, free: 7.203 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/1.06, allocations: 460.3 kB / 1.198 GB, free: 6.754 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/1.06, allocations: 248.9 kB / 1.198 GB, free: 6.523 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.45e-05/1.061, allocations: 67.48 kB / 1.198 GB, free: 6.449 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/1.061, allocations: 10.56 kB / 1.198 GB, free: 6.441 MB / 1.076 GB Notification: Performance of SimCode: time 6.91e-07/1.061, allocations: 0 / 1.198 GB, free: 6.441 MB / 1.076 GB Notification: Performance of Templates: time 0.005577/1.066, allocations: 2.38 MB / 1.201 GB, free: 6.188 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange -abortSlowSimulation -alarm=800 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 12.16690716193989] Failed to read output from testmodel.py, exit status != 0: 1.0746336746960878 1.087267437 0.033468341 Calling exit ...