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.001435/0.001435, allocations: 77.94 kB / 19.79 MB, free: 2.016 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.001529/0.001529, allocations: 161.6 kB / 23.04 MB, free: 4.961 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.455/1.455, allocations: 177.2 MB / 203.4 MB, free: 9.281 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.906/2.906, allocations: 394.6 MB / 0.6391 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.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: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 64.14 kB / 1.01 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.099/1.101, allocations: 181.9 MB / 1.187 GB, free: 16.01 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.00462/1.106, allocations: 1.822 MB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003889/1.109, allocations: 1.709 MB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/1.11, allocations: 5.188 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002749/1.11, allocations: 34.09 kB / 1.191 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001683/1.11, allocations: 20.47 kB / 1.191 GB, free: 13.57 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/1.111, allocations: 258.5 kB / 1.191 GB, free: 13.45 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004908/1.112, allocations: 255.8 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/1.112, allocations: 41.53 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003818/1.112, allocations: 133.1 kB / 1.192 GB, free: 13.27 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002069/1.113, allocations: 83.67 kB / 1.192 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.355e-05/1.113, allocations: 12.84 kB / 1.192 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006132/1.113, allocations: 234.4 kB / 1.192 GB, free: 13.16 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001614/1.113, allocations: 88.06 kB / 1.192 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/1.113, allocations: 73.5 kB / 1.192 GB, free: 13.08 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008318/1.114, allocations: 400 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.114, allocations: 7.875 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.424e-06/1.114, allocations: 0 / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.224e-05/1.114, allocations: 1.125 kB / 1.192 GB, free: 12.93 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.001188/1.116, allocations: 493.2 kB / 1.193 GB, free: 12.54 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/1.116, allocations: 9.922 kB / 1.193 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/1.116, allocations: 44.16 kB / 1.193 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/1.116, allocations: 201.2 kB / 1.193 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/1.116, allocations: 23.28 kB / 1.193 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/1.117, allocations: 36.11 kB / 1.193 GB, free: 12.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006391/1.117, allocations: 201.7 kB / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/1.117, allocations: 0 / 1.193 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.689e-05/1.117, allocations: 11.62 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/1.117, allocations: 4.344 kB / 1.193 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/1.118, allocations: 121 kB / 1.194 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/1.119, allocations: 487.6 kB / 1.194 GB, free: 11.9 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/1.12, allocations: 193.2 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/1.12, allocations: 88.89 kB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/1.12, allocations: 7.922 kB / 1.194 GB, free: 11.79 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003214/1.12, allocations: 179.6 kB / 1.194 GB, free: 11.69 MB / 1.076 GB Notification: Performance of pre-optimization done (n=27): time 1.963e-06/1.12, allocations: 0 / 1.194 GB, free: 11.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.000797/1.121, allocations: 376.9 kB / 1.195 GB, free: 11.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/1.121, allocations: 74.09 kB / 1.195 GB, free: 11.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/1.121, allocations: 173.4 kB / 1.195 GB, free: 11.38 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/1.121, allocations: 50.53 kB / 1.195 GB, free: 11.33 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.34e-05/1.121, allocations: 125.2 kB / 1.195 GB, free: 11.22 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.933e-05/1.121, allocations: 84.8 kB / 1.195 GB, free: 11.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/1.122, allocations: 83.86 kB / 1.195 GB, free: 11.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.122, allocations: 338.7 kB / 1.196 GB, free: 10.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/1.122, allocations: 114.8 kB / 1.196 GB, free: 10.76 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/1.122, allocations: 284.4 kB / 1.196 GB, free: 10.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/1.123, allocations: 373 kB / 1.196 GB, free: 10.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.123, allocations: 0 / 1.196 GB, free: 10.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006563/1.123, allocations: 416.4 kB / 1.197 GB, free: 10.1 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.123, allocations: 10.75 kB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.123, allocations: 4.484 kB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/1.123, allocations: 7.469 kB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/1.124, allocations: 62.06 kB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.78e-05/1.124, allocations: 15.17 kB / 1.197 GB, free: 10.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/1.124, allocations: 31.84 kB / 1.197 GB, free: 10.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/1.124, allocations: 18.66 kB / 1.197 GB, free: 10.05 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.0001827/1.124, allocations: 183 kB / 1.197 GB, free: 9.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/1.124, allocations: 27.03 kB / 1.197 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.397e-05/1.124, allocations: 27.12 kB / 1.197 GB, free: 9.871 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/1.124, allocations: 6.828 kB / 1.197 GB, free: 9.867 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.124, allocations: 1.406 kB / 1.197 GB, free: 9.867 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.124, allocations: 1.922 kB / 1.197 GB, free: 9.867 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/1.125, allocations: 0.6107 MB / 1.198 GB, free: 9.516 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.125, allocations: 5.062 kB / 1.198 GB, free: 9.512 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/1.125, allocations: 21.08 kB / 1.198 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/1.125, allocations: 1.781 kB / 1.198 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/1.125, allocations: 11.91 kB / 1.198 GB, free: 9.504 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.125, allocations: 1.281 kB / 1.198 GB, free: 9.504 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.125, allocations: 9.844 kB / 1.198 GB, free: 9.496 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000775/1.126, allocations: 0.5168 MB / 1.198 GB, free: 9.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/1.126, allocations: 14.61 kB / 1.198 GB, free: 9.242 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/1.126, allocations: 15.91 kB / 1.198 GB, free: 9.238 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/1.126, allocations: 12.45 kB / 1.198 GB, free: 9.234 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/1.126, allocations: 21.83 kB / 1.198 GB, free: 9.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/1.126, allocations: 15.88 kB / 1.198 GB, free: 9.227 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.998e-05/1.127, allocations: 120.5 kB / 1.199 GB, free: 9.141 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.127, allocations: 0 / 1.199 GB, free: 9.141 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005613/1.127, allocations: 117.1 kB / 1.199 GB, free: 9.102 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.000913/1.128, allocations: 341.6 kB / 1.199 GB, free: 8.93 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005902/1.129, allocations: 271.8 kB / 1.199 GB, free: 8.852 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.129, allocations: 1.125 kB / 1.199 GB, free: 8.852 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/1.129, allocations: 97.28 kB / 1.199 GB, free: 8.828 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/1.129, allocations: 34.62 kB / 1.199 GB, free: 8.812 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/1.13, allocations: 0.4954 MB / 1.2 GB, free: 8.523 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/1.13, allocations: 137.2 kB / 1.2 GB, free: 8.441 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001509/1.131, allocations: 57.45 kB / 1.2 GB, free: 8.434 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/1.131, allocations: 30.44 kB / 1.2 GB, free: 8.418 MB / 1.076 GB Notification: Performance of SimCode: time 8.81e-07/1.131, allocations: 1.406 kB / 1.2 GB, free: 8.418 MB / 1.076 GB Notification: Performance of Templates: time 0.009225/1.14, allocations: 3.278 MB / 1.203 GB, free: 8.059 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 -s cvode -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.3073141729692] Failed to read output from testmodel.py, exit status != 0: 1.1484185060253367 1.162060812 0.04456509 Calling exit ...