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.001847/0.001847, allocations: 113 kB / 18.94 MB, free: 2.957 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.002292/0.002292, allocations: 215.6 kB / 22.25 MB, free: 5.125 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 8.004 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.307/3.307, allocations: 0.5112 GB / 0.8163 GB, free: 15.83 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.002158/0.002158, allocations: 71.39 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3517, allocations: 182 MB / 1.365 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.00359/0.3553, allocations: 1.847 MB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002963/0.3582, allocations: 1.78 MB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3584, allocations: 7.938 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.3585, allocations: 23.78 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.3587, allocations: 23.8 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007808/0.3594, allocations: 271.2 kB / 1.369 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003629/0.3598, allocations: 251.5 kB / 1.369 GB, free: 9.137 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.36, allocations: 49.64 kB / 1.369 GB, free: 9.086 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.3602, allocations: 95.69 kB / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.3603, allocations: 87.66 kB / 1.369 GB, free: 8.906 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.3604, allocations: 16 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004494/0.3608, allocations: 251.6 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.3609, allocations: 95.72 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.361, allocations: 91.48 kB / 1.369 GB, free: 8.461 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005856/0.3616, allocations: 410.6 kB / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3616, allocations: 0 / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3616, allocations: 0 / 1.37 GB, free: 8.059 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.3616, allocations: 0 / 1.37 GB, free: 8.059 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.0009149/0.3626, allocations: 496.7 kB / 1.37 GB, free: 7.543 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3626, allocations: 12.03 kB / 1.37 GB, free: 7.531 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.3628, allocations: 40.77 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004193/0.3632, allocations: 207 kB / 1.371 GB, free: 7.262 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.3632, allocations: 12.38 kB / 1.371 GB, free: 7.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/0.3633, allocations: 31.92 kB / 1.371 GB, free: 7.219 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.3637, allocations: 209.1 kB / 1.371 GB, free: 7.008 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3637, allocations: 0 / 1.371 GB, free: 7.008 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.3637, allocations: 8 kB / 1.371 GB, free: 7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3637, allocations: 7.938 kB / 1.371 GB, free: 6.992 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.364, allocations: 119.9 kB / 1.371 GB, free: 6.875 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.3654, allocations: 0.5575 MB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.3657, allocations: 198.4 kB / 1.372 GB, free: 6.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.3659, allocations: 88.81 kB / 1.372 GB, free: 5.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.3659, allocations: 3.938 kB / 1.372 GB, free: 5.977 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.3663, allocations: 168.9 kB / 1.372 GB, free: 5.801 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 2.144e-06/0.3663, allocations: 0 / 1.372 GB, free: 5.801 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.0007726/0.3671, allocations: 392.5 kB / 1.372 GB, free: 5.414 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.3671, allocations: 71.38 kB / 1.372 GB, free: 5.332 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3673, allocations: 187.5 kB / 1.373 GB, free: 5.133 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.728e-05/0.3674, allocations: 49.69 kB / 1.373 GB, free: 5.078 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3675, allocations: 133 kB / 1.373 GB, free: 4.941 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.497e-05/0.3676, allocations: 79.42 kB / 1.373 GB, free: 4.863 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.3677, allocations: 78.12 kB / 1.373 GB, free: 4.781 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3679, allocations: 338.8 kB / 1.373 GB, free: 4.441 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.3681, allocations: 120.8 kB / 1.373 GB, free: 4.32 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003454/0.3685, allocations: 253.4 kB / 1.374 GB, free: 4.012 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/0.369, allocations: 376 kB / 1.374 GB, free: 3.586 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.369, allocations: 7.938 kB / 1.374 GB, free: 3.578 MB / 1.061 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007843/0.3698, allocations: 417 kB / 1.374 GB, free: 3.164 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.3698, allocations: 8 kB / 1.374 GB, free: 3.156 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.3699, allocations: 4 kB / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.3699, allocations: 8 kB / 1.374 GB, free: 3.145 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.3701, allocations: 63.84 kB / 1.374 GB, free: 3.082 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.3701, allocations: 8 kB / 1.374 GB, free: 3.074 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.3703, allocations: 31.78 kB / 1.374 GB, free: 3.043 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.3703, allocations: 20.3 kB / 1.374 GB, free: 3.023 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.0002124/0.3705, allocations: 184.2 kB / 1.375 GB, free: 2.836 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.3706, allocations: 27.84 kB / 1.375 GB, free: 2.809 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.337e-05/0.3706, allocations: 22.64 kB / 1.375 GB, free: 2.789 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3706, allocations: 4 kB / 1.375 GB, free: 2.785 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.3706, allocations: 4 kB / 1.375 GB, free: 2.781 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3706, allocations: 0 / 1.375 GB, free: 2.781 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.3718, allocations: 0.67 MB / 1.375 GB, free: 2.062 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3718, allocations: 4 kB / 1.375 GB, free: 2.059 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.3719, allocations: 15.98 kB / 1.375 GB, free: 2.043 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3719, allocations: 0 / 1.375 GB, free: 2.043 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.372, allocations: 15.98 kB / 1.375 GB, free: 2.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.372, allocations: 192 / 1.375 GB, free: 2.027 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.372, allocations: 4 kB / 1.375 GB, free: 2.023 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/0.3728, allocations: 0.5125 MB / 1.376 GB, free: 1.496 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.155e-05/0.3729, allocations: 23.8 kB / 1.376 GB, free: 1.473 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.3729, allocations: 16.03 kB / 1.376 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.3731, allocations: 15.98 kB / 1.376 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.3731, allocations: 15.95 kB / 1.376 GB, free: 1.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.3732, allocations: 19.98 kB / 1.376 GB, free: 1.406 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001151/0.3733, allocations: 133.2 kB / 1.376 GB, free: 1.277 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3733, allocations: 0 / 1.376 GB, free: 1.277 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004974/0.3738, allocations: 115.6 kB / 1.376 GB, free: 1.164 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.0009439/0.3747, allocations: 333.1 kB / 1.376 GB, free: 0.8867 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006295/0.3754, allocations: 272.2 kB / 1.377 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3754, allocations: 256 / 1.377 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.3756, allocations: 102.7 kB / 1.377 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.3759, allocations: 21.7 kB / 1.377 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.377, allocations: 0.4927 MB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.3774, allocations: 0.7517 MB / 1.378 GB, free: 15.21 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.3776, allocations: 50.25 kB / 1.378 GB, free: 15.16 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.3776, allocations: 27.42 kB / 1.378 GB, free: 15.13 MB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.3776, allocations: 0 / 1.378 GB, free: 15.13 MB / 1.076 GB Notification: Performance of Templates: time 0.008594/0.3862, allocations: 3.455 MB / 1.382 GB, free: 11.68 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.190801775082946] Failed to read output from testmodel.py, exit status != 0: 0.3950433973222971 0.41190907400000004 0.046800360000000006 Calling exit ...