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.001394/0.001394, allocations: 78.19 kB / 19.01 MB, free: 2.859 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.001539/0.001539, allocations: 158.1 kB / 22.26 MB, free: 5.105 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.418/1.418, allocations: 177.2 MB / 202.6 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.966/2.966, allocations: 394.5 MB / 0.6383 GB, free: 11.76 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: 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.002333/0.002333, allocations: 67.91 kB / 1.009 GB, free: 13.09 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8047/0.807, allocations: 181.9 MB / 1.187 GB, free: 12.82 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_12.Examples.SimpleRoom): time 0.003274/0.8103, allocations: 1.809 MB / 1.188 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002761/0.8131, allocations: 1.715 MB / 1.19 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.817e-05/0.8132, allocations: 6.562 kB / 1.19 GB, free: 10.11 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.8134, allocations: 31.2 kB / 1.19 GB, free: 10.08 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.8135, allocations: 14.47 kB / 1.19 GB, free: 10.07 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007937/0.8143, allocations: 271.2 kB / 1.19 GB, free: 9.879 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.8146, allocations: 255.5 kB / 1.191 GB, free: 9.73 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.8147, allocations: 44.19 kB / 1.191 GB, free: 9.703 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.815, allocations: 136.4 kB / 1.191 GB, free: 9.621 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.8151, allocations: 79.59 kB / 1.191 GB, free: 9.57 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.8152, allocations: 17.28 kB / 1.191 GB, free: 9.566 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004245/0.8156, allocations: 226.6 kB / 1.191 GB, free: 9.457 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.8157, allocations: 85.75 kB / 1.191 GB, free: 9.402 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.793e-05/0.8158, allocations: 78.47 kB / 1.191 GB, free: 9.348 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005776/0.8164, allocations: 399.4 kB / 1.192 GB, free: 9.102 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.8164, allocations: 0 / 1.192 GB, free: 9.102 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8164, allocations: 7.875 kB / 1.192 GB, free: 9.094 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.879e-05/0.8164, allocations: 1 kB / 1.192 GB, free: 9.094 MB / 1.045 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.000926/0.8173, allocations: 494.8 kB / 1.192 GB, free: 8.668 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.8174, allocations: 8.844 kB / 1.192 GB, free: 8.668 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001864/0.8176, allocations: 36.69 kB / 1.192 GB, free: 8.652 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.818, allocations: 207.9 kB / 1.192 GB, free: 8.457 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.372e-05/0.8181, allocations: 18.72 kB / 1.192 GB, free: 8.449 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.53e-05/0.8182, allocations: 34.33 kB / 1.192 GB, free: 8.434 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.8186, allocations: 204.4 kB / 1.192 GB, free: 8.309 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.8186, allocations: 0 / 1.192 GB, free: 8.309 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.8187, allocations: 5.438 kB / 1.192 GB, free: 8.305 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.8187, allocations: 5.094 kB / 1.192 GB, free: 8.305 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.819, allocations: 120.7 kB / 1.193 GB, free: 8.25 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.8205, allocations: 491.9 kB / 1.193 GB, free: 7.879 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004218/0.8209, allocations: 194.3 kB / 1.193 GB, free: 7.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.8211, allocations: 90.33 kB / 1.193 GB, free: 7.723 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.8211, allocations: 7.719 kB / 1.193 GB, free: 7.719 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003288/0.8215, allocations: 164.4 kB / 1.194 GB, free: 7.605 MB / 1.045 GB Notification: Performance of pre-optimization done (n=27): time 2.104e-06/0.8215, allocations: 1.375 kB / 1.194 GB, free: 7.605 MB / 1.045 GB Notification: Performance of matching and sorting (n=27): time 0.0007654/0.8222, allocations: 392.1 kB / 1.194 GB, free: 7.426 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.8223, allocations: 65.48 kB / 1.194 GB, free: 7.359 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.8225, allocations: 178.2 kB / 1.194 GB, free: 7.211 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.8225, allocations: 47.81 kB / 1.194 GB, free: 7.168 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.8226, allocations: 129.8 kB / 1.194 GB, free: 7.047 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.001e-05/0.8227, allocations: 81.91 kB / 1.194 GB, free: 6.98 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.8228, allocations: 79.97 kB / 1.194 GB, free: 6.93 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.823, allocations: 338.2 kB / 1.195 GB, free: 6.598 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.8232, allocations: 117.9 kB / 1.195 GB, free: 6.543 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003318/0.8235, allocations: 282.5 kB / 1.195 GB, free: 6.285 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005063/0.824, allocations: 375.8 kB / 1.196 GB, free: 5.996 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.824, allocations: 0.9375 kB / 1.196 GB, free: 5.996 MB / 1.045 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006793/0.8247, allocations: 419.5 kB / 1.196 GB, free: 5.781 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.8247, allocations: 6.625 kB / 1.196 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.8247, allocations: 3.719 kB / 1.196 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.8248, allocations: 7.375 kB / 1.196 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.825, allocations: 65.69 kB / 1.196 GB, free: 5.762 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.825, allocations: 6.812 kB / 1.196 GB, free: 5.762 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.8251, allocations: 38.06 kB / 1.196 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.8252, allocations: 14.19 kB / 1.196 GB, free: 5.734 MB / 1.045 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.0002076/0.8254, allocations: 190.3 kB / 1.196 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.8254, allocations: 28.36 kB / 1.196 GB, free: 5.551 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.8255, allocations: 22.67 kB / 1.196 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.8255, allocations: 2.188 kB / 1.196 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8255, allocations: 4 kB / 1.196 GB, free: 5.527 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.8255, allocations: 1.125 kB / 1.196 GB, free: 5.527 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.8265, allocations: 0.6172 MB / 1.197 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8265, allocations: 0 / 1.197 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.8266, allocations: 23.22 kB / 1.197 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/0.8267, allocations: 5.328 kB / 1.197 GB, free: 5.09 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.851e-05/0.8267, allocations: 10.95 kB / 1.197 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.8267, allocations: 1.219 kB / 1.197 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8267, allocations: 1.406 kB / 1.197 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007795/0.8275, allocations: 0.5215 MB / 1.197 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.444e-05/0.8275, allocations: 13.69 kB / 1.197 GB, free: 4.77 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.8275, allocations: 24.83 kB / 1.197 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.8277, allocations: 4.281 kB / 1.197 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.8277, allocations: 23.98 kB / 1.198 GB, free: 4.738 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.8278, allocations: 12.05 kB / 1.198 GB, free: 4.734 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.617e-05/0.8279, allocations: 119.9 kB / 1.198 GB, free: 4.641 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8279, allocations: 0 / 1.198 GB, free: 4.641 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005272/0.8284, allocations: 110.9 kB / 1.198 GB, free: 4.602 MB / 1.045 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.0009044/0.8293, allocations: 356.5 kB / 1.198 GB, free: 4.398 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005248/0.8298, allocations: 268.9 kB / 1.198 GB, free: 4.285 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8298, allocations: 1.469 kB / 1.198 GB, free: 4.285 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.83, allocations: 94.11 kB / 1.198 GB, free: 4.25 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.8303, allocations: 29.8 kB / 1.198 GB, free: 4.23 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009872/0.8313, allocations: 0.4992 MB / 1.199 GB, free: 3.891 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.8315, allocations: 139 kB / 1.199 GB, free: 3.781 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001324/0.8316, allocations: 52.12 kB / 1.199 GB, free: 3.762 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.8317, allocations: 21.69 kB / 1.199 GB, free: 3.754 MB / 1.045 GB Notification: Performance of SimCode: time 5.31e-07/0.8317, allocations: 3.938 kB / 1.199 GB, free: 3.75 MB / 1.045 GB Notification: Performance of Templates: time 0.007842/0.8395, allocations: 3.277 MB / 1.202 GB, free: 0.8867 MB / 1.045 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: 8.942869447171688] Failed to read output from testmodel.py, exit status != 0: 0.8486386090517044 0.870141445 0.048235572000000004 Calling exit ...