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.001953/0.001953, allocations: 113 kB / 18.94 MB, free: 2.934 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.002464/0.002464, allocations: 211.2 kB / 22.25 MB, free: 5.086 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.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 3.338/3.338, allocations: 0.5111 GB / 0.8162 GB, free: 15.82 MB / 0.6231 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.002235/0.002235, allocations: 69.94 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3937, allocations: 182 MB / 1.365 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Functions.Examples.Exchange): time 0.001971/0.3956, allocations: 0.5587 MB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.3976, allocations: 1.294 MB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.3976, allocations: 0 / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.3978, allocations: 15.92 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.91e-05/0.3978, allocations: 0 / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007507/0.3986, allocations: 283.3 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.3987, allocations: 79.8 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.3988, allocations: 4 kB / 1.367 GB, free: 11.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.864e-05/0.3988, allocations: 43.89 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3989, allocations: 39.89 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.399, allocations: 4 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004537/0.3994, allocations: 251.5 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.3994, allocations: 4 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.63e-05/0.3995, allocations: 35.84 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.3999, allocations: 263.2 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3999, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3999, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.3999, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 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.0004783/0.4004, allocations: 372.8 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.4004, allocations: 8.031 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.4005, allocations: 88.2 kB / 1.368 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.4007, allocations: 197.8 kB / 1.368 GB, free: 9.793 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.256e-05/0.4008, allocations: 162.9 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.392e-05/0.4009, allocations: 158.9 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.236e-05/0.4009, allocations: 105.1 kB / 1.369 GB, free: 9.367 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/0.401, allocations: 79.27 kB / 1.369 GB, free: 9.289 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.785e-05/0.4011, allocations: 158.5 kB / 1.369 GB, free: 9.133 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.224e-05/0.4011, allocations: 150.6 kB / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.296e-05/0.4012, allocations: 154.6 kB / 1.369 GB, free: 8.832 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.4016, allocations: 441 kB / 1.369 GB, free: 8.359 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.269e-05/0.4016, allocations: 169.1 kB / 1.37 GB, free: 8.184 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.4017, allocations: 84.14 kB / 1.37 GB, free: 8.098 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.4017, allocations: 79.28 kB / 1.37 GB, free: 8.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/0.4018, allocations: 117.8 kB / 1.37 GB, free: 7.895 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4018, allocations: 3.938 kB / 1.37 GB, free: 7.891 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 9.999e-05/0.4019, allocations: 37.59 kB / 1.37 GB, free: 7.848 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.402, allocations: 130.7 kB / 1.37 GB, free: 7.707 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.4021, allocations: 145.7 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.4022, allocations: 25.7 kB / 1.37 GB, free: 7.523 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.4022, allocations: 100.1 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.4022, allocations: 0 / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.002e-05/0.4023, allocations: 37.7 kB / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4024, allocations: 322.8 kB / 1.371 GB, free: 7.055 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.4025, allocations: 55.95 kB / 1.371 GB, free: 7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.924e-05/0.4026, allocations: 59.94 kB / 1.371 GB, free: 6.941 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.4028, allocations: 94.52 kB / 1.371 GB, free: 6.84 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4028, allocations: 0 / 1.371 GB, free: 6.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003917/0.4032, allocations: 243.1 kB / 1.371 GB, free: 6.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.4032, allocations: 41.69 kB / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4032, allocations: 0 / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.4032, allocations: 0 / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.4032, allocations: 0 / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4032, allocations: 0 / 1.371 GB, free: 6.543 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.4035, allocations: 23.91 kB / 1.371 GB, free: 6.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.4036, allocations: 19.98 kB / 1.371 GB, free: 6.5 MB / 1.061 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.0001449/0.4037, allocations: 193.2 kB / 1.371 GB, free: 6.301 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/0.4038, allocations: 120.9 kB / 1.371 GB, free: 6.176 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.556e-05/0.4039, allocations: 112.5 kB / 1.372 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-05/0.4039, allocations: 184.3 kB / 1.372 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.776e-05/0.404, allocations: 176.3 kB / 1.372 GB, free: 5.684 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.066e-05/0.4041, allocations: 184.2 kB / 1.372 GB, free: 5.496 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.4044, allocations: 392.3 kB / 1.372 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.074e-05/0.4044, allocations: 104.9 kB / 1.373 GB, free: 4.953 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.4044, allocations: 104.9 kB / 1.373 GB, free: 4.844 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.409e-05/0.4045, allocations: 180.2 kB / 1.373 GB, free: 4.66 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-05/0.4046, allocations: 180.3 kB / 1.373 GB, free: 4.477 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.619e-05/0.4047, allocations: 188.3 kB / 1.373 GB, free: 4.285 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.002e-05/0.4048, allocations: 184.2 kB / 1.373 GB, free: 4.098 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.4049, allocations: 303.7 kB / 1.374 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.405, allocations: 112.9 kB / 1.374 GB, free: 3.66 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.608e-05/0.4051, allocations: 184.2 kB / 1.374 GB, free: 3.473 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.4052, allocations: 108.9 kB / 1.374 GB, free: 3.359 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.4052, allocations: 180.3 kB / 1.374 GB, free: 3.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-05/0.4053, allocations: 108.9 kB / 1.374 GB, free: 3.062 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.486e-05/0.4054, allocations: 113.9 kB / 1.374 GB, free: 2.953 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4054, allocations: 0 / 1.374 GB, free: 2.953 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003526/0.4057, allocations: 75.67 kB / 1.374 GB, free: 2.879 MB / 1.061 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.01013/0.4158, allocations: 395.2 kB / 1.375 GB, free: 2.551 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002962/0.4161, allocations: 155.3 kB / 1.375 GB, free: 2.387 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4161, allocations: 0 / 1.375 GB, free: 2.387 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.676e-06/0.4162, allocations: 0 / 1.375 GB, free: 2.387 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.4166, allocations: 455.7 kB / 1.375 GB, free: 1.938 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.417, allocations: 228.1 kB / 1.376 GB, free: 1.688 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.4173, allocations: 0.6846 MB / 1.376 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.069e-05/0.4173, allocations: 47.88 kB / 1.376 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.93e-05/0.4174, allocations: 7.438 kB / 1.376 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/0.4174, allocations: 3.938 kB / 1.376 GB, free: 0.918 MB / 1.061 GB Notification: Performance of Templates: time 0.006108/0.4235, allocations: 2.61 MB / 1.379 GB, free: 14.33 MB / 1.076 GB " [Timeout remaining time 300] 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: 9.159175915643573] Failed to read output from testmodel.py, exit status != 0: 0.43175546638667583 0.44740563299999997 0.044397954 Calling exit ...