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.001622/0.001622, allocations: 80.59 kB / 19.77 MB, free: 1.902 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.001988/0.001988, allocations: 160.3 kB / 23.01 MB, free: 4.559 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 9.266 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.854/2.854, allocations: 394.6 MB / 0.639 GB, free: 11.74 MB / 0.6075 GB " [Timeout remaining time 177] 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.002056/0.002056, allocations: 68.17 kB / 1.01 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9861/0.9881, allocations: 181.9 MB / 1.187 GB, free: 16.04 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.002797/0.9909, allocations: 1.812 MB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002204/0.9931, allocations: 1.718 MB / 1.191 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.95e-05/0.9932, allocations: 2.875 kB / 1.191 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.9934, allocations: 26.19 kB / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.9935, allocations: 20.27 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006682/0.9942, allocations: 258 kB / 1.191 GB, free: 13.49 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.9945, allocations: 268 kB / 1.191 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.9946, allocations: 37.2 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.9948, allocations: 133.3 kB / 1.191 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.9949, allocations: 87.48 kB / 1.192 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.995, allocations: 12.72 kB / 1.192 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.9953, allocations: 226.5 kB / 1.192 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.9954, allocations: 83.94 kB / 1.192 GB, free: 13.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.045e-05/0.9955, allocations: 74.5 kB / 1.192 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.996, allocations: 406.2 kB / 1.192 GB, free: 12.97 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.996, allocations: 1.281 kB / 1.192 GB, free: 12.97 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.413e-06/0.996, allocations: 7.938 kB / 1.192 GB, free: 12.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.996, allocations: 4.594 kB / 1.192 GB, free: 12.96 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007423/0.9968, allocations: 493.5 kB / 1.193 GB, free: 12.57 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.9968, allocations: 9.469 kB / 1.193 GB, free: 12.57 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.997, allocations: 40.06 kB / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.9973, allocations: 202.6 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.9974, allocations: 19.66 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.306e-05/0.9974, allocations: 35.41 kB / 1.193 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.9978, allocations: 201.6 kB / 1.193 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.9978, allocations: 0 / 1.193 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.9978, allocations: 7.609 kB / 1.193 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.9978, allocations: 4.531 kB / 1.193 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.9981, allocations: 121.2 kB / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.9992, allocations: 491.7 kB / 1.194 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.9995, allocations: 185 kB / 1.194 GB, free: 11.87 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.9996, allocations: 92.95 kB / 1.194 GB, free: 11.83 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.9997, allocations: 11.16 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.9999, allocations: 168.6 kB / 1.194 GB, free: 11.74 MB / 1.076 GB Notification: Performance of pre-optimization done (n=27): time 1.894e-06/0.9999, allocations: 0.8438 kB / 1.194 GB, free: 11.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.0006748/1.001, allocations: 385 kB / 1.195 GB, free: 11.62 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/1.001, allocations: 73.75 kB / 1.195 GB, free: 11.55 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/1.001, allocations: 174.5 kB / 1.195 GB, free: 11.42 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.106e-05/1.001, allocations: 51.55 kB / 1.195 GB, free: 11.38 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/1.001, allocations: 124.6 kB / 1.195 GB, free: 11.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/1.001, allocations: 84.39 kB / 1.195 GB, free: 11.2 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.273e-05/1.001, allocations: 79.89 kB / 1.195 GB, free: 11.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.839e-05/1.001, allocations: 338 kB / 1.196 GB, free: 10.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/1.001, allocations: 115.1 kB / 1.196 GB, free: 10.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/1.002, allocations: 285 kB / 1.196 GB, free: 10.57 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/1.002, allocations: 371.8 kB / 1.196 GB, free: 10.31 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/1.002, allocations: 1.156 kB / 1.196 GB, free: 10.31 MB / 1.076 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005662/1.002, allocations: 424.3 kB / 1.197 GB, free: 10.14 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.003, allocations: 9.219 kB / 1.197 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/1.003, allocations: 4.953 kB / 1.197 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/1.003, allocations: 6.594 kB / 1.197 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/1.003, allocations: 64.77 kB / 1.197 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/1.003, allocations: 7.672 kB / 1.197 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/1.003, allocations: 32.98 kB / 1.197 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/1.003, allocations: 18.12 kB / 1.197 GB, free: 10.1 MB / 1.076 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.0001492/1.003, allocations: 191.5 kB / 1.197 GB, free: 9.945 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/1.003, allocations: 29.02 kB / 1.197 GB, free: 9.926 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.985e-05/1.003, allocations: 24.17 kB / 1.197 GB, free: 9.906 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.003, allocations: 2.281 kB / 1.197 GB, free: 9.906 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.003, allocations: 1.547 kB / 1.197 GB, free: 9.906 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.003, allocations: 1.266 kB / 1.197 GB, free: 9.906 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008686/1.004, allocations: 0.6194 MB / 1.198 GB, free: 9.547 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.004, allocations: 1.375 kB / 1.198 GB, free: 9.547 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/1.004, allocations: 16.67 kB / 1.198 GB, free: 9.547 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.004, allocations: 1.688 kB / 1.198 GB, free: 9.547 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/1.004, allocations: 11.89 kB / 1.198 GB, free: 9.543 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.004, allocations: 2.281 kB / 1.198 GB, free: 9.543 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.004, allocations: 0.6094 kB / 1.198 GB, free: 9.543 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000682/1.005, allocations: 0.5211 MB / 1.198 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/1.005, allocations: 14.98 kB / 1.198 GB, free: 9.285 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/1.005, allocations: 19.27 kB / 1.198 GB, free: 9.277 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/1.005, allocations: 12.72 kB / 1.198 GB, free: 9.273 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/1.005, allocations: 22.91 kB / 1.198 GB, free: 9.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/1.005, allocations: 11.33 kB / 1.198 GB, free: 9.27 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.145e-05/1.005, allocations: 124.7 kB / 1.198 GB, free: 9.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.005, allocations: 0 / 1.198 GB, free: 9.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004771/1.006, allocations: 112.6 kB / 1.199 GB, free: 9.145 MB / 1.076 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.0007866/1.006, allocations: 353.5 kB / 1.199 GB, free: 8.961 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005148/1.007, allocations: 271.9 kB / 1.199 GB, free: 8.883 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/1.007, allocations: 0 / 1.199 GB, free: 8.883 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/1.007, allocations: 97.97 kB / 1.199 GB, free: 8.859 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/1.007, allocations: 31.72 kB / 1.199 GB, free: 8.844 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000825/1.008, allocations: 0.535 MB / 1.2 GB, free: 8.516 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/1.008, allocations: 141 kB / 1.2 GB, free: 8.43 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/1.008, allocations: 23.14 kB / 1.2 GB, free: 8.422 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/1.008, allocations: 0 / 1.2 GB, free: 8.422 MB / 1.076 GB Notification: Performance of Templates: time 0.006923/1.015, allocations: 4.07 MB / 1.204 GB, free: 8.016 MB / 1.076 GB " [Timeout remaining time 299] 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: 12.039388267323375] Failed to read output from testmodel.py, exit status != 0: 1.0237862970679998 1.034056834 0.035594338 Calling exit ...