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.001294/0.001294, allocations: 78.17 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.001336/0.001336, allocations: 155.7 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.417/1.417, allocations: 177.2 MB / 203.4 MB, free: 9.289 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.94/2.94, allocations: 394.6 MB / 0.6391 GB, free: 11.67 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.002044/0.002044, allocations: 63.91 kB / 1.01 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057/1.059, allocations: 181.9 MB / 1.187 GB, free: 16.03 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.003143/1.062, allocations: 1.815 MB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002555/1.065, allocations: 1.711 MB / 1.191 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.413e-05/1.065, allocations: 6.531 kB / 1.191 GB, free: 13.63 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000195/1.065, allocations: 29.38 kB / 1.191 GB, free: 13.61 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/1.065, allocations: 16.83 kB / 1.191 GB, free: 13.6 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007917/1.066, allocations: 266.7 kB / 1.191 GB, free: 13.47 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003427/1.066, allocations: 259.9 kB / 1.191 GB, free: 13.36 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/1.066, allocations: 44.02 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/1.067, allocations: 129.4 kB / 1.192 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/1.067, allocations: 84.61 kB / 1.192 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/1.067, allocations: 12.28 kB / 1.192 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004549/1.067, allocations: 230.5 kB / 1.192 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/1.067, allocations: 83.84 kB / 1.192 GB, free: 13.15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 9.438e-05/1.068, allocations: 77.97 kB / 1.192 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005985/1.068, allocations: 399.1 kB / 1.192 GB, free: 12.96 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/1.068, allocations: 1.094 kB / 1.192 GB, free: 12.96 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.365e-06/1.068, allocations: 8.594 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.068, allocations: 0 / 1.192 GB, free: 12.95 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.0008213/1.069, allocations: 497.6 kB / 1.193 GB, free: 12.56 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/1.069, allocations: 11.08 kB / 1.193 GB, free: 12.56 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/1.069, allocations: 39.05 kB / 1.193 GB, free: 12.54 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/1.07, allocations: 197.8 kB / 1.193 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/1.07, allocations: 20.2 kB / 1.193 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.684e-05/1.07, allocations: 35.61 kB / 1.193 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/1.07, allocations: 204.8 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1.07, allocations: 3.938 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/1.07, allocations: 7.875 kB / 1.193 GB, free: 12.26 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.07, allocations: 4.312 kB / 1.193 GB, free: 12.26 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/1.07, allocations: 117.2 kB / 1.194 GB, free: 12.23 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/1.072, allocations: 492.3 kB / 1.194 GB, free: 11.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/1.072, allocations: 188.5 kB / 1.194 GB, free: 11.85 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/1.072, allocations: 88.91 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/1.072, allocations: 7.781 kB / 1.194 GB, free: 11.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/1.072, allocations: 176 kB / 1.194 GB, free: 11.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=27): time 1.834e-06/1.072, allocations: 0 / 1.194 GB, free: 11.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.000762/1.073, allocations: 390.7 kB / 1.195 GB, free: 11.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/1.073, allocations: 68.56 kB / 1.195 GB, free: 11.53 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/1.073, allocations: 177.7 kB / 1.195 GB, free: 11.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/1.073, allocations: 47.83 kB / 1.195 GB, free: 11.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/1.073, allocations: 128.2 kB / 1.195 GB, free: 11.25 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/1.074, allocations: 80.64 kB / 1.195 GB, free: 11.19 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/1.074, allocations: 80.08 kB / 1.195 GB, free: 11.14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/1.074, allocations: 337.9 kB / 1.196 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/1.074, allocations: 115 kB / 1.196 GB, free: 10.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/1.074, allocations: 288.5 kB / 1.196 GB, free: 10.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/1.075, allocations: 371.8 kB / 1.196 GB, free: 10.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.075, allocations: 1.125 kB / 1.196 GB, free: 10.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006059/1.075, allocations: 416.8 kB / 1.197 GB, free: 10.12 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/1.075, allocations: 7.969 kB / 1.197 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.075, allocations: 5.578 kB / 1.197 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/1.075, allocations: 5.938 kB / 1.197 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/1.076, allocations: 65 kB / 1.197 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.076, allocations: 8.266 kB / 1.197 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/1.076, allocations: 36.08 kB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/1.076, allocations: 13.95 kB / 1.197 GB, free: 10.09 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.0001657/1.076, allocations: 191.2 kB / 1.197 GB, free: 9.938 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/1.076, allocations: 33.17 kB / 1.197 GB, free: 9.914 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/1.076, allocations: 20.77 kB / 1.197 GB, free: 9.898 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/1.076, allocations: 3.438 kB / 1.197 GB, free: 9.898 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.076, allocations: 3.938 kB / 1.197 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/1.076, allocations: 1.969 kB / 1.197 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000995/1.077, allocations: 0.6202 MB / 1.198 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.077, allocations: 0 / 1.198 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/1.077, allocations: 20.97 kB / 1.198 GB, free: 9.531 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/1.077, allocations: 1.922 kB / 1.198 GB, free: 9.531 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/1.077, allocations: 8.797 kB / 1.198 GB, free: 9.531 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.077, allocations: 0.7969 kB / 1.198 GB, free: 9.531 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.077, allocations: 5.375 kB / 1.198 GB, free: 9.527 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007715/1.078, allocations: 0.5163 MB / 1.198 GB, free: 9.281 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/1.078, allocations: 14.62 kB / 1.198 GB, free: 9.273 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/1.078, allocations: 24.86 kB / 1.198 GB, free: 9.262 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/1.078, allocations: 7.828 kB / 1.198 GB, free: 9.262 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/1.078, allocations: 23.12 kB / 1.198 GB, free: 9.258 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/1.078, allocations: 10.94 kB / 1.198 GB, free: 9.258 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.257e-05/1.078, allocations: 120 kB / 1.199 GB, free: 9.172 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.078, allocations: 0 / 1.199 GB, free: 9.172 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005562/1.079, allocations: 112.9 kB / 1.199 GB, free: 9.137 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.0008954/1.08, allocations: 354.9 kB / 1.199 GB, free: 8.953 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005719/1.08, allocations: 274.8 kB / 1.199 GB, free: 8.871 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.08, allocations: 1.031 kB / 1.199 GB, free: 8.871 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/1.08, allocations: 97.31 kB / 1.199 GB, free: 8.848 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/1.081, allocations: 30.31 kB / 1.199 GB, free: 8.836 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009331/1.082, allocations: 0.4958 MB / 1.2 GB, free: 8.547 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/1.082, allocations: 141.9 kB / 1.2 GB, free: 8.461 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001414/1.082, allocations: 49.19 kB / 1.2 GB, free: 8.461 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.098e-05/1.082, allocations: 26.2 kB / 1.2 GB, free: 8.449 MB / 1.076 GB Notification: Performance of SimCode: time 3.7e-07/1.082, allocations: 3.938 kB / 1.2 GB, free: 8.445 MB / 1.076 GB Notification: Performance of Templates: time 0.008874/1.091, allocations: 3.278 MB / 1.203 GB, free: 8.086 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 gbode -gbnls=internal -gberr=embedded -gbm=esdirk4 -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.202381193987094] Failed to read output from testmodel.py, exit status != 0: 1.0994444030802697 1.1129122870000001 0.042024376 Calling exit ...