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.001202/0.001202, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0018/0.003001, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001149/0.001149, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002611, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.058/1.058, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08008/1.138, allocations: 53.64 MB / 243.2 MB, free: 15.59 MB / 250.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.873/1.873, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4612/2.334, allocations: 127.1 MB / 0.7432 GB, free: 4.66 MB / 0.7136 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.343e-06/1.343e-06, allocations: 0 / 0.7444 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.308e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002357/0.00238, allocations: 1.307 MB / 0.7457 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006733/0.003053, allocations: 381.9 kB / 0.7461 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.003081, allocations: 0 / 0.7461 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.676e-05/0.003118, allocations: 4.922 kB / 0.7461 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.71e-05/0.003135, allocations: 0 / 0.7461 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.003567, allocations: 94.95 kB / 0.7462 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.905e-05/0.003647, allocations: 27.27 kB / 0.7462 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.052e-05/0.003677, allocations: 0 / 0.7462 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.625e-05/0.003733, allocations: 19.67 kB / 0.7462 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.093e-05/0.003764, allocations: 8 kB / 0.7462 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.003777, allocations: 1.094 kB / 0.7462 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.004057, allocations: 127.7 kB / 0.7464 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.608e-05/0.004103, allocations: 21.36 kB / 0.7464 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.509e-05/0.004128, allocations: 8.047 kB / 0.7464 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.004328, allocations: 118.9 kB / 0.7465 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-05/0.004345, allocations: 0.6562 kB / 0.7465 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.02e-07/0.004346, allocations: 0 / 0.7465 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.895e-05/0.004365, allocations: 0 / 0.7465 GB, free: 1.332 MB / 0.7136 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.0005108/0.004875, allocations: 351.5 kB / 0.7468 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.00491, allocations: 12.03 kB / 0.7468 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.005028, allocations: 83.77 kB / 0.7469 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.998e-05/0.005128, allocations: 126.2 kB / 0.747 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.005143, allocations: 384 / 0.747 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.005153, allocations: 4.375 kB / 0.747 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.005265, allocations: 85.88 kB / 0.7471 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.005273, allocations: 192 / 0.7471 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.141e-06/0.005279, allocations: 4.375 kB / 0.7471 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.005284, allocations: 1.031 kB / 0.7471 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.844e-05/0.005312, allocations: 19.94 kB / 0.7472 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.818e-05/0.005401, allocations: 79.58 kB / 0.7472 GB, free: 496 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.521e-05/0.005466, allocations: 49.25 kB / 0.7473 GB, free: 440 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.926e-05/0.005495, allocations: 28.86 kB / 0.7473 GB, free: 408 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.005502, allocations: 4 kB / 0.7473 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.005627, allocations: 96.78 kB / 0.7474 GB, free: 296 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.232e-06/0.005628, allocations: 0 / 0.7474 GB, free: 296 kB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.0002437/0.005872, allocations: 217.2 kB / 0.7476 GB, free: 76 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.005951, allocations: 87.31 kB / 0.7477 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.54e-05/0.006026, allocations: 122.6 kB / 0.7478 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.006064, allocations: 45.91 kB / 0.7479 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.006092, allocations: 84.8 kB / 0.7479 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.607e-05/0.006168, allocations: 103.2 kB / 0.748 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.183e-05/0.00626, allocations: 85.61 kB / 0.7481 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.006356, allocations: 342.7 kB / 0.7484 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/0.006423, allocations: 52.09 kB / 0.7485 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.984e-05/0.006522, allocations: 113.1 kB / 0.7486 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.006739, allocations: 212.8 kB / 0.7488 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.006742, allocations: 0.5938 kB / 0.7488 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002992/0.007041, allocations: 255.8 kB / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.007057, allocations: 4 kB / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.007066, allocations: 4.969 kB / 0.7491 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.007077, allocations: 0 / 0.7491 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.007314, allocations: 80.5 kB / 0.7491 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.007322, allocations: 4 kB / 0.7491 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.007383, allocations: 32.33 kB / 0.7492 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.007401, allocations: 16.59 kB / 0.7492 GB, free: 14.38 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 0.000135/0.007536, allocations: 171.8 kB / 0.7493 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.007546, allocations: 4 kB / 0.7493 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.007568, allocations: 5.312 kB / 0.7494 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.00757, allocations: 0.5 kB / 0.7494 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.007573, allocations: 4.75 kB / 0.7494 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.007577, allocations: 3.984 kB / 0.7494 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.034e-05/0.007667, allocations: 79.55 kB / 0.7494 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007668, allocations: 0 / 0.7494 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.324e-05/0.007681, allocations: 4 kB / 0.7494 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.007701, allocations: 19.83 kB / 0.7495 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.007704, allocations: 3.938 kB / 0.7495 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.00771, allocations: 4.906 kB / 0.7495 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.007712, allocations: 3.984 kB / 0.7495 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.007713, allocations: 1.25 kB / 0.7495 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.007896, allocations: 185.1 kB / 0.7497 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.007925, allocations: 19.98 kB / 0.7497 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.633e-05/0.007941, allocations: 1.75 kB / 0.7497 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.007958, allocations: 4 kB / 0.7497 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.007964, allocations: 0 / 0.7497 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.731e-05/0.007981, allocations: 16.83 kB / 0.7497 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.007981, allocations: 0 / 0.7497 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002135/0.008195, allocations: 49.09 kB / 0.7497 GB, free: 13.77 MB / 0.7292 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.0003576/0.008552, allocations: 211.9 kB / 0.7499 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.008709, allocations: 143.9 kB / 0.7501 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.008714, allocations: 0 / 0.7501 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.336e-05/0.008747, allocations: 53.28 kB / 0.7501 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.454e-05/0.008811, allocations: 12.41 kB / 0.7501 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002455/0.009057, allocations: 244.2 kB / 0.7504 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.318e-05/0.00909, allocations: 71.84 kB / 0.7504 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.451e-05/0.009115, allocations: 12.64 kB / 0.7505 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.009149, allocations: 59.38 kB / 0.7505 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of SimCode: time 5.91e-07/0.00915, allocations: 3.031 kB / 0.7505 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of Templates: time 0.0033/0.01245, allocations: 1.713 MB / 0.7522 GB, free: 11.35 MB / 0.7292 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.922351655550301]