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.001358/0.001358, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001576/0.001576, allocations: 221.6 kB / 23.01 MB, free: 4.605 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.322/3.322, allocations: 0.5112 GB / 0.817 GB, free: 15.91 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: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 61.45 kB / 1.188 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.366, allocations: 182 MB / 1.365 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.003534/0.3695, allocations: 1.853 MB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002867/0.3724, allocations: 1.776 MB / 1.369 GB, free: 9.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.3725, allocations: 3.938 kB / 1.369 GB, free: 9.746 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.3727, allocations: 35.72 kB / 1.369 GB, free: 9.711 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.3728, allocations: 27.8 kB / 1.369 GB, free: 9.684 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008008/0.3736, allocations: 263.2 kB / 1.369 GB, free: 9.426 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.374, allocations: 247.5 kB / 1.37 GB, free: 9.184 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.3741, allocations: 45.66 kB / 1.37 GB, free: 9.137 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.3743, allocations: 99.69 kB / 1.37 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3745, allocations: 87.66 kB / 1.37 GB, free: 8.953 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/0.3745, allocations: 12 kB / 1.37 GB, free: 8.941 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004528/0.375, allocations: 263.5 kB / 1.37 GB, free: 8.684 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3751, allocations: 87.72 kB / 1.37 GB, free: 8.598 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.3752, allocations: 95.47 kB / 1.37 GB, free: 8.504 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.3757, allocations: 398.7 kB / 1.371 GB, free: 8.113 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3757, allocations: 0 / 1.371 GB, free: 8.113 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3757, allocations: 3.938 kB / 1.371 GB, free: 8.109 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3757, allocations: 0 / 1.371 GB, free: 8.109 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.000907/0.3767, allocations: 0.5022 MB / 1.371 GB, free: 7.578 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3767, allocations: 8.031 kB / 1.371 GB, free: 7.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.3769, allocations: 36.78 kB / 1.371 GB, free: 7.535 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.3773, allocations: 195 kB / 1.371 GB, free: 7.316 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.3774, allocations: 20.38 kB / 1.371 GB, free: 7.297 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.3774, allocations: 31.92 kB / 1.371 GB, free: 7.266 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.3778, allocations: 205.1 kB / 1.372 GB, free: 7.059 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3778, allocations: 0 / 1.372 GB, free: 7.059 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.3778, allocations: 8 kB / 1.372 GB, free: 7.051 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3778, allocations: 4 kB / 1.372 GB, free: 7.047 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.3781, allocations: 119.9 kB / 1.372 GB, free: 6.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.3794, allocations: 0.5652 MB / 1.372 GB, free: 6.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.3797, allocations: 198.3 kB / 1.372 GB, free: 6.117 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.3799, allocations: 92.83 kB / 1.373 GB, free: 6.023 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.3799, allocations: 4 kB / 1.373 GB, free: 6.02 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002966/0.3802, allocations: 172 kB / 1.373 GB, free: 5.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.573e-06/0.3802, allocations: 0 / 1.373 GB, free: 5.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.000746/0.381, allocations: 384.4 kB / 1.373 GB, free: 5.461 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.3811, allocations: 67.39 kB / 1.373 GB, free: 5.383 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.3812, allocations: 187.5 kB / 1.373 GB, free: 5.184 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.3813, allocations: 53.69 kB / 1.373 GB, free: 5.125 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.468e-05/0.3814, allocations: 129 kB / 1.373 GB, free: 4.992 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.002e-05/0.3815, allocations: 87.41 kB / 1.374 GB, free: 4.906 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.3816, allocations: 78.14 kB / 1.374 GB, free: 4.824 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3818, allocations: 342.8 kB / 1.374 GB, free: 4.48 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.382, allocations: 112.8 kB / 1.374 GB, free: 4.367 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.3823, allocations: 257.4 kB / 1.374 GB, free: 4.055 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.3828, allocations: 364 kB / 1.375 GB, free: 3.641 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.3828, allocations: 3.938 kB / 1.375 GB, free: 3.637 MB / 1.061 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006791/0.3835, allocations: 432.8 kB / 1.375 GB, free: 3.207 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3835, allocations: 8 kB / 1.375 GB, free: 3.199 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3835, allocations: 4 kB / 1.375 GB, free: 3.195 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3835, allocations: 4 kB / 1.375 GB, free: 3.191 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3837, allocations: 68.31 kB / 1.375 GB, free: 3.125 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.3838, allocations: 8 kB / 1.375 GB, free: 3.117 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.3839, allocations: 31.78 kB / 1.375 GB, free: 3.086 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.3839, allocations: 20 kB / 1.375 GB, free: 3.066 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.0002048/0.3841, allocations: 189.1 kB / 1.375 GB, free: 2.875 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.671e-05/0.3842, allocations: 23.86 kB / 1.375 GB, free: 2.852 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.3842, allocations: 22.64 kB / 1.375 GB, free: 2.832 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3842, allocations: 4 kB / 1.375 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.3842, allocations: 0 / 1.375 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3842, allocations: 0 / 1.375 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.3853, allocations: 0.6623 MB / 1.376 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3853, allocations: 0 / 1.376 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3854, allocations: 19.98 kB / 1.376 GB, free: 2.098 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3854, allocations: 0 / 1.376 GB, free: 2.098 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.3854, allocations: 15.98 kB / 1.376 GB, free: 2.082 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.3854, allocations: 0 / 1.376 GB, free: 2.082 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3854, allocations: 4 kB / 1.376 GB, free: 2.078 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007759/0.3862, allocations: 0.5117 MB / 1.377 GB, free: 1.551 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.3863, allocations: 23.8 kB / 1.377 GB, free: 1.527 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.3863, allocations: 16.03 kB / 1.377 GB, free: 1.512 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3864, allocations: 15.98 kB / 1.377 GB, free: 1.496 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.3865, allocations: 23.89 kB / 1.377 GB, free: 1.473 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.3865, allocations: 16.17 kB / 1.377 GB, free: 1.457 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001164/0.3866, allocations: 129.2 kB / 1.377 GB, free: 1.332 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3866, allocations: 0 / 1.377 GB, free: 1.332 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000482/0.3871, allocations: 115.6 kB / 1.377 GB, free: 1.219 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.0009554/0.3881, allocations: 334.1 kB / 1.377 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005396/0.3886, allocations: 276.8 kB / 1.378 GB, free: 0.668 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3886, allocations: 0 / 1.378 GB, free: 0.668 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.3888, allocations: 99.88 kB / 1.378 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.3891, allocations: 22.08 kB / 1.378 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.3902, allocations: 0.5275 MB / 1.378 GB, free: 15.99 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.3906, allocations: 0.7634 MB / 1.379 GB, free: 15.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.3907, allocations: 19.44 kB / 1.379 GB, free: 15.18 MB / 1.076 GB Notification: Performance of SimCode: time 7.81e-07/0.3907, allocations: 0 / 1.379 GB, free: 15.18 MB / 1.076 GB Notification: Performance of Templates: time 0.00778/0.3985, allocations: 4.01 MB / 1.383 GB, free: 11.18 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: 12.395869691041298] Failed to read output from testmodel.py, exit status != 0: 0.4074837419902906 0.422824297 0.043883092000000005 Calling exit ...