Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.001368/0.001368, allocations: 80.81 kB / 21.54 MB, free: 2.949 MB / 18.57 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.001245/0.001245, allocations: 166.2 kB / 24.96 MB, free: 8.234 MB / 18.57 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 0.9983/0.9983, allocations: 177.1 MB / 205.4 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.829/1.829, allocations: 389.6 MB / 0.6362 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7759 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.451e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001618/0.001632, allocations: 1.322 MB / 0.7772 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000565/0.002197, allocations: 372.8 kB / 0.7776 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.678e-05/0.002224, allocations: 0 / 0.7776 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.502e-05/0.002299, allocations: 4.484 kB / 0.7776 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 1.813e-05/0.002317, allocations: 3.156 kB / 0.7776 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.002689, allocations: 97.31 kB / 0.7777 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.589e-05/0.002755, allocations: 22.7 kB / 0.7777 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.017e-05/0.002785, allocations: 4 kB / 0.7777 GB, free: 3.641 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.1e-05/0.002816, allocations: 9.078 kB / 0.7777 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.142e-05/0.002837, allocations: 8 kB / 0.7777 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.002848, allocations: 1.156 kB / 0.7777 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.003046, allocations: 132.8 kB / 0.7778 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.00308, allocations: 20.48 kB / 0.7779 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.003105, allocations: 16.56 kB / 0.7779 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.003249, allocations: 128.1 kB / 0.778 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.352e-06/0.00325, allocations: 0 / 0.778 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003251, allocations: 0 / 0.778 GB, free: 3.348 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.003254, allocations: 0 / 0.778 GB, free: 3.348 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0003259/0.00358, allocations: 339 kB / 0.7783 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.003613, allocations: 9.344 kB / 0.7783 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.563e-05/0.003688, allocations: 8.922 kB / 0.7783 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.199e-05/0.00377, allocations: 117.6 kB / 0.7785 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.003783, allocations: 8.188 kB / 0.7785 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.003788, allocations: 384 / 0.7785 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.617e-05/0.003875, allocations: 92.66 kB / 0.7785 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.003881, allocations: 192 / 0.7785 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-06/0.003886, allocations: 384 / 0.7785 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.00389, allocations: 4.312 kB / 0.7786 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.94e-05/0.003909, allocations: 28.52 kB / 0.7786 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.088e-05/0.00398, allocations: 79.58 kB / 0.7787 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.493e-05/0.004025, allocations: 42.61 kB / 0.7787 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.004047, allocations: 29.45 kB / 0.7787 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.004055, allocations: 0 / 0.7787 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.783e-05/0.004143, allocations: 104.8 kB / 0.7788 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 7.82e-07/0.004143, allocations: 0.9062 kB / 0.7788 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0001825/0.004326, allocations: 210.9 kB / 0.779 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.004371, allocations: 84.64 kB / 0.7791 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.263e-05/0.004433, allocations: 122.6 kB / 0.7792 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.004458, allocations: 49.69 kB / 0.7793 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.004485, allocations: 81.61 kB / 0.7793 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.004542, allocations: 103.2 kB / 0.7794 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.004601, allocations: 83.02 kB / 0.7795 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/0.004679, allocations: 346.7 kB / 0.7799 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.004722, allocations: 51.47 kB / 0.7799 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.559e-05/0.004788, allocations: 101.3 kB / 0.78 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.004931, allocations: 218 kB / 0.7802 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.004933, allocations: 4 kB / 0.7802 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0001938/0.005126, allocations: 247.9 kB / 0.7805 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.005138, allocations: 8 kB / 0.7805 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.005143, allocations: 0 / 0.7805 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.005155, allocations: 7.984 kB / 0.7805 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.005295, allocations: 72.62 kB / 0.7805 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.005299, allocations: 4 kB / 0.7805 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.005336, allocations: 32.77 kB / 0.7806 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.005346, allocations: 15.88 kB / 0.7806 GB, free: 0.5078 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 71 (y,$PRE.y,state[33],$PRE.state[33],state[32],$PRE.state[32],state[31],$PRE.state[31],state[30],$PRE.state[30],state[29],$PRE.state[29],state[28],$PRE.state[28],state[27],$PRE.state[27],state[26],$PRE.state[26],state[25],$PRE.state[25],state[24],$PRE.state[24],state[23],$PRE.state[23],state[22],$PRE.state[22],state[21],$PRE.state[21],state[20],$PRE.state[20],state[19],$PRE.state[19],state[18],$PRE.state[18],state[17],$PRE.state[17],state[16],$PRE.state[16],state[15],$PRE.state[15],state[14],$PRE.state[14],state[13],$PRE.state[13],state[12],$PRE.state[12],state[11],$PRE.state[11],state[10],$PRE.state[10],state[9],$PRE.state[9],state[8],$PRE.state[8],state[7],$PRE.state[7],state[6],$PRE.state[6],state[5],$PRE.state[5],state[4],$PRE.state[4],state[3],$PRE.state[3],state[2],$PRE.state[2],state[1],$PRE.state[1],r,$PRE.r,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 1 * 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 9.856e-05/0.005445, allocations: 175.2 kB / 0.7808 GB, free: 344 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.412e-06/0.005451, allocations: 4 kB / 0.7808 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.045e-05/0.005472, allocations: 6.719 kB / 0.7808 GB, free: 336 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.005475, allocations: 4 kB / 0.7808 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.005476, allocations: 0 / 0.7808 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.005479, allocations: 0.5938 kB / 0.7808 GB, free: 332 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.566e-05/0.005545, allocations: 89.64 kB / 0.7809 GB, free: 224 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.005546, allocations: 0.8125 kB / 0.7809 GB, free: 224 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-06/0.005554, allocations: 4 kB / 0.7809 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.005555, allocations: 0.5938 kB / 0.7809 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-06/0.005559, allocations: 1.156 kB / 0.7809 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.005559, allocations: 0 / 0.7809 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.00556, allocations: 0 / 0.7809 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.005682, allocations: 188.2 kB / 0.781 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.005702, allocations: 17.12 kB / 0.7811 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.005723, allocations: 23.98 kB / 0.7811 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.735e-06/0.00573, allocations: 0 / 0.7811 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.005745, allocations: 5.312 kB / 0.7811 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.005747, allocations: 0 / 0.7811 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.105e-06/0.005755, allocations: 12.84 kB / 0.7811 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.005755, allocations: 0 / 0.7811 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001522/0.005908, allocations: 53.3 kB / 0.7811 GB, free: 15.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,y,state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33],r) * Number of discrete states: 33 (state[1],state[2],state[3],state[4],state[5],state[6],state[7],state[8],state[9],state[10],state[11],state[12],state[13],state[14],state[15],state[16],state[17],state[18],state[19],state[20],state[21],state[22],state[23],state[24],state[25],state[26],state[27],state[28],state[29],state[30],state[31],state[32],state[33]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002697/0.006177, allocations: 221.5 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.006322, allocations: 143 kB / 0.7815 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.006324, allocations: 0 / 0.7815 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-05/0.006353, allocations: 44.83 kB / 0.7815 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.006473, allocations: 11.88 kB / 0.7815 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.006686, allocations: 236.2 kB / 0.7818 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.387e-05/0.00672, allocations: 79.77 kB / 0.7818 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.152e-05/0.006741, allocations: 12.64 kB / 0.7819 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.006773, allocations: 59.38 kB / 0.7819 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.006774, allocations: 0 / 0.7819 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.002847/0.009621, allocations: 1.707 MB / 0.7836 GB, free: 13.48 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_13_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_13_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_13_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_13_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.980021575465798]