Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.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.001398/0.001398, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001667/0.001667, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.781 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.347/3.347, allocations: 0.5112 GB / 0.8163 GB, free: 17.31 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.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom") [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.00226/0.00226, allocations: 71.48 kB / 1.187 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3829, allocations: 182 MB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.003682/0.3866, allocations: 1.806 MB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002799/0.3894, allocations: 1.702 MB / 1.368 GB, free: 9.273 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.643e-05/0.3894, allocations: 7.938 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.3896, allocations: 27.72 kB / 1.368 GB, free: 9.238 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.3897, allocations: 27.78 kB / 1.368 GB, free: 9.211 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000747/0.3905, allocations: 255.3 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.3908, allocations: 255.4 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.391, allocations: 45.66 kB / 1.369 GB, free: 8.664 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.3912, allocations: 103.7 kB / 1.369 GB, free: 8.562 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.3913, allocations: 83.66 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.3913, allocations: 16 kB / 1.369 GB, free: 8.465 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.3918, allocations: 227.6 kB / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.3919, allocations: 83.81 kB / 1.369 GB, free: 8.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/0.392, allocations: 79.58 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005244/0.3925, allocations: 402.5 kB / 1.37 GB, free: 7.688 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3925, allocations: 0 / 1.37 GB, free: 7.688 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3925, allocations: 0 / 1.37 GB, free: 7.688 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.3925, allocations: 0 / 1.37 GB, free: 7.688 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008608/0.3934, allocations: 0.4929 MB / 1.37 GB, free: 7.164 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.3934, allocations: 11.97 kB / 1.37 GB, free: 7.152 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.3936, allocations: 40.77 kB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.394, allocations: 191 kB / 1.37 GB, free: 6.898 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.394, allocations: 24.36 kB / 1.37 GB, free: 6.875 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.3941, allocations: 27.94 kB / 1.37 GB, free: 6.848 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.3944, allocations: 221 kB / 1.371 GB, free: 6.625 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3945, allocations: 0 / 1.371 GB, free: 6.625 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.3945, allocations: 7.984 kB / 1.371 GB, free: 6.617 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3945, allocations: 4 kB / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.3948, allocations: 115.9 kB / 1.371 GB, free: 6.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.396, allocations: 491.7 kB / 1.371 GB, free: 5.988 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.3963, allocations: 191.6 kB / 1.371 GB, free: 5.793 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.3965, allocations: 92.8 kB / 1.371 GB, free: 5.699 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.3965, allocations: 7.938 kB / 1.371 GB, free: 5.691 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/0.3968, allocations: 168 kB / 1.372 GB, free: 5.516 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.733e-06/0.3968, allocations: 0 / 1.372 GB, free: 5.516 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.0007444/0.3976, allocations: 384.4 kB / 1.372 GB, free: 5.137 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.3976, allocations: 71.39 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.3978, allocations: 178.8 kB / 1.372 GB, free: 4.871 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/0.3978, allocations: 45.69 kB / 1.372 GB, free: 4.82 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.683e-05/0.3979, allocations: 129 kB / 1.372 GB, free: 4.688 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.098e-05/0.398, allocations: 83.36 kB / 1.372 GB, free: 4.605 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3981, allocations: 86.06 kB / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.3983, allocations: 334.8 kB / 1.373 GB, free: 4.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.3986, allocations: 116.8 kB / 1.373 GB, free: 4.062 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.399, allocations: 283.1 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/0.3995, allocations: 371.9 kB / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3995, allocations: 4 kB / 1.374 GB, free: 3.293 MB / 1.061 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000699/0.4002, allocations: 409.4 kB / 1.374 GB, free: 2.887 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.4003, allocations: 12.06 kB / 1.374 GB, free: 2.875 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.4003, allocations: 4 kB / 1.374 GB, free: 2.871 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4003, allocations: 4.188 kB / 1.374 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.4005, allocations: 75.78 kB / 1.374 GB, free: 2.793 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-05/0.4005, allocations: 11.94 kB / 1.374 GB, free: 2.781 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001467/0.4007, allocations: 35.77 kB / 1.374 GB, free: 2.746 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.4007, allocations: 16 kB / 1.374 GB, free: 2.73 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2],onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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 prepare postOptimizeDAE: time 0.0002057/0.4009, allocations: 178.6 kB / 1.374 GB, free: 2.551 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.401, allocations: 27.78 kB / 1.374 GB, free: 2.523 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.401, allocations: 22.64 kB / 1.374 GB, free: 2.504 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.401, allocations: 4 kB / 1.374 GB, free: 2.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.401, allocations: 0 / 1.374 GB, free: 2.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.401, allocations: 0 / 1.374 GB, free: 2.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.4021, allocations: 0.6239 MB / 1.375 GB, free: 1.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4021, allocations: 0 / 1.375 GB, free: 1.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.4022, allocations: 23.92 kB / 1.375 GB, free: 1.816 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4022, allocations: 7.938 kB / 1.375 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.4022, allocations: 11.98 kB / 1.375 GB, free: 1.797 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4022, allocations: 0 / 1.375 GB, free: 1.797 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4022, allocations: 0 / 1.375 GB, free: 1.797 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.4031, allocations: 0.5117 MB / 1.376 GB, free: 1.27 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.4032, allocations: 15.84 kB / 1.376 GB, free: 1.254 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.4032, allocations: 20.03 kB / 1.376 GB, free: 1.234 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.4033, allocations: 7.984 kB / 1.376 GB, free: 1.227 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.294e-05/0.4034, allocations: 23.97 kB / 1.376 GB, free: 1.203 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.4034, allocations: 11.98 kB / 1.376 GB, free: 1.191 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001231/0.4036, allocations: 123.2 kB / 1.376 GB, free: 1.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4036, allocations: 0 / 1.376 GB, free: 1.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005241/0.4041, allocations: 115.6 kB / 1.376 GB, free: 0.957 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 18 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001042/0.4051, allocations: 344.8 kB / 1.376 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005564/0.4057, allocations: 272.4 kB / 1.376 GB, free: 416 kB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4057, allocations: 0 / 1.376 GB, free: 416 kB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.4059, allocations: 103.9 kB / 1.377 GB, free: 312 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.4062, allocations: 25.17 kB / 1.377 GB, free: 288 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.4072, allocations: 0.4893 MB / 1.377 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/0.4074, allocations: 136.6 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001463/0.4075, allocations: 58.34 kB / 1.377 GB, free: 15.55 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.4076, allocations: 27.42 kB / 1.377 GB, free: 15.53 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.4076, allocations: 0 / 1.377 GB, free: 15.53 MB / 1.076 GB Notification: Performance of Templates: time 0.008881/0.4165, allocations: 3.414 MB / 1.381 GB, free: 12.16 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.sim & ./Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom -abortSlowSimulation -alarm=800 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 9.219709254801273] Failed to read output from testmodel.py, exit status != 0: 0.4252496100962162 0.44127945199999996 0.045382842 Calling exit ...