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.0009577/0.0009577, allocations: 83.69 kB / 21.74 MB, free: 2.512 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.001007/0.001007, allocations: 172.9 kB / 25.18 MB, free: 8.918 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.9053/0.9053, allocations: 177.1 MB / 205.6 MB, free: 5.406 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.814/1.814, allocations: 389.6 MB / 0.6364 GB, free: 12.22 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.743e-06/1.743e-06, allocations: 0 / 0.7755 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.234e-05, allocations: 8.172 kB / 0.7755 GB, free: 6.043 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002404/0.002436, allocations: 1.298 MB / 0.7768 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007668/0.003203, allocations: 388.5 kB / 0.7771 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.00324, allocations: 0 / 0.7771 GB, free: 4.379 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.125e-05/0.003331, allocations: 3.938 kB / 0.7771 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.083e-05/0.003352, allocations: 0.875 kB / 0.7771 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.00387, allocations: 96.61 kB / 0.7772 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.008e-05/0.00395, allocations: 14.61 kB / 0.7773 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.003992, allocations: 0 / 0.7773 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.571e-05/0.004038, allocations: 24.81 kB / 0.7773 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.681e-05/0.004064, allocations: 8.859 kB / 0.7773 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.004078, allocations: 0 / 0.7773 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.004343, allocations: 128.4 kB / 0.7774 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.0044, allocations: 24.14 kB / 0.7774 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.00444, allocations: 8.703 kB / 0.7774 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.004682, allocations: 128.6 kB / 0.7776 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.004685, allocations: 0 / 0.7776 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.783e-06/0.004687, allocations: 0 / 0.7776 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.004692, allocations: 4 kB / 0.7776 GB, free: 3.969 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.0004157/0.005107, allocations: 339.3 kB / 0.7779 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.005153, allocations: 13.28 kB / 0.7779 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.005261, allocations: 4.938 kB / 0.7779 GB, free: 3.594 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.005368, allocations: 117.7 kB / 0.778 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.005387, allocations: 4.375 kB / 0.778 GB, free: 3.449 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.005398, allocations: 4.375 kB / 0.778 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.005528, allocations: 88.67 kB / 0.7781 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.005536, allocations: 192 / 0.7781 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.005544, allocations: 384 / 0.7781 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.00555, allocations: 384 / 0.7781 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.005573, allocations: 27.28 kB / 0.7781 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001091/0.005683, allocations: 91.98 kB / 0.7782 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.875e-05/0.005741, allocations: 38.58 kB / 0.7783 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.005769, allocations: 28.86 kB / 0.7783 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.005775, allocations: 0 / 0.7783 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.005897, allocations: 101.6 kB / 0.7784 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 9.22e-07/0.005898, allocations: 0 / 0.7784 GB, free: 3.031 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0002384/0.006136, allocations: 210.9 kB / 0.7786 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.0062, allocations: 87.31 kB / 0.7787 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.86e-05/0.006279, allocations: 127.7 kB / 0.7788 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.006309, allocations: 49.69 kB / 0.7788 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.508e-05/0.006344, allocations: 84.78 kB / 0.7789 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.37e-05/0.006418, allocations: 96.27 kB / 0.779 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.006506, allocations: 89.59 kB / 0.7791 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.006612, allocations: 338.7 kB / 0.7794 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.00667, allocations: 52.06 kB / 0.7795 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.783e-05/0.006758, allocations: 110.2 kB / 0.7796 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.006948, allocations: 217.2 kB / 0.7798 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.006951, allocations: 0 / 0.7798 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002571/0.007208, allocations: 255 kB / 0.78 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.007226, allocations: 7.188 kB / 0.78 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.007233, allocations: 4 kB / 0.78 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.007244, allocations: 5.719 kB / 0.78 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.007446, allocations: 67.91 kB / 0.7801 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.007453, allocations: 0 / 0.7801 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.028e-05/0.007533, allocations: 39.67 kB / 0.7801 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.007552, allocations: 13 kB / 0.7802 GB, free: 1.129 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.0001409/0.007693, allocations: 174.9 kB / 0.7803 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.007705, allocations: 0 / 0.7803 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.007738, allocations: 6.406 kB / 0.7803 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.007745, allocations: 7.984 kB / 0.7803 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.007747, allocations: 0 / 0.7803 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.007751, allocations: 0.5 kB / 0.7803 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.007863, allocations: 78.77 kB / 0.7804 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.007866, allocations: 0 / 0.7804 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.484e-05/0.007881, allocations: 3.938 kB / 0.7804 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007883, allocations: 0.9375 kB / 0.7804 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.00789, allocations: 0 / 0.7804 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.007892, allocations: 4 kB / 0.7804 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.007895, allocations: 4.516 kB / 0.7804 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.008079, allocations: 189.1 kB / 0.7806 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.304e-05/0.008102, allocations: 19.84 kB / 0.7806 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.008131, allocations: 20.83 kB / 0.7806 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.613e-05/0.008147, allocations: 8 kB / 0.7807 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.008168, allocations: 0 / 0.7807 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.008175, allocations: 5.016 kB / 0.7807 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.763e-05/0.008193, allocations: 8.859 kB / 0.7807 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008193, allocations: 0 / 0.7807 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002452/0.008438, allocations: 41.69 kB / 0.7807 GB, free: 0.5312 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.0004162/0.008855, allocations: 221.2 kB / 0.7809 GB, free: 344 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.009109, allocations: 147.9 kB / 0.7811 GB, free: 188 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/0.009119, allocations: 6.031 kB / 0.7811 GB, free: 184 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.008e-05/0.009169, allocations: 44.78 kB / 0.7811 GB, free: 136 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001059/0.009275, allocations: 6 kB / 0.7811 GB, free: 132 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.009622, allocations: 273.9 kB / 0.7814 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.957e-05/0.009701, allocations: 93.91 kB / 0.7815 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.175e-05/0.009753, allocations: 67.31 kB / 0.7815 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.009754, allocations: 0 / 0.7815 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of Templates: time 0.00296/0.01271, allocations: 2.074 MB / 0.7836 GB, free: 13.7 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 > Buildings_13_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.8967997478321195]