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.0008957/0.0008957, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.0009339/0.0009339, allocations: 165 kB / 24.25 MB, free: 212 kB / 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.921/0.921, allocations: 177.1 MB / 204.7 MB, free: 5.445 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.9/1.9, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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.563e-06/1.563e-06, allocations: 0 / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.933e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002596/0.002626, allocations: 1.311 MB / 0.7766 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007721/0.003398, allocations: 384.3 kB / 0.777 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.652e-05/0.003444, allocations: 0 / 0.777 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.003553, allocations: 0 / 0.777 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.339e-05/0.003576, allocations: 0.6562 kB / 0.777 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.004054, allocations: 95.75 kB / 0.7771 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.177e-05/0.004136, allocations: 26.48 kB / 0.7771 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.382e-05/0.00417, allocations: 3.938 kB / 0.7771 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.889e-05/0.004209, allocations: 13.41 kB / 0.7771 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.503e-05/0.004234, allocations: 4.75 kB / 0.7771 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.00425, allocations: 4 kB / 0.7771 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.004505, allocations: 128.7 kB / 0.7772 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.00455, allocations: 20.25 kB / 0.7773 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.00458, allocations: 17.11 kB / 0.7773 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.004771, allocations: 118.4 kB / 0.7774 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004774, allocations: 2.75 kB / 0.7774 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.222e-06/0.004775, allocations: 0 / 0.7774 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.004781, allocations: 0 / 0.7774 GB, free: 3.227 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.0003896/0.00517, allocations: 335.1 kB / 0.7777 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.005209, allocations: 13.34 kB / 0.7777 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.704e-05/0.005296, allocations: 8.922 kB / 0.7777 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.005397, allocations: 117.6 kB / 0.7778 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.005414, allocations: 7.109 kB / 0.7778 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.005428, allocations: 8.375 kB / 0.7779 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.005543, allocations: 92.55 kB / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.005549, allocations: 192 / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.005556, allocations: 384 / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005561, allocations: 384 / 0.7779 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.909e-05/0.00559, allocations: 24.53 kB / 0.778 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.573e-05/0.005676, allocations: 79.58 kB / 0.778 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.52e-05/0.005741, allocations: 44.78 kB / 0.7781 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.00577, allocations: 24.86 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.005776, allocations: 4 kB / 0.7781 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/0.005905, allocations: 104.2 kB / 0.7782 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 2.174e-06/0.005907, allocations: 0.5312 kB / 0.7782 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0002444/0.006151, allocations: 211.9 kB / 0.7784 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.006215, allocations: 83.33 kB / 0.7785 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.006589, allocations: 131.2 kB / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.006626, allocations: 45.69 kB / 0.7787 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.006654, allocations: 85.52 kB / 0.7787 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.435e-05/0.006729, allocations: 95.25 kB / 0.7788 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.63e-05/0.006815, allocations: 90.2 kB / 0.7789 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.00691, allocations: 340.1 kB / 0.7792 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.006975, allocations: 51.47 kB / 0.7793 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.007073, allocations: 113.2 kB / 0.7794 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.007276, allocations: 213.9 kB / 0.7796 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.00728, allocations: 0 / 0.7796 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002799/0.00756, allocations: 251.2 kB / 0.7798 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.007578, allocations: 10.48 kB / 0.7799 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.007587, allocations: 4 kB / 0.7799 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.699e-06/0.007597, allocations: 0.5312 kB / 0.7799 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.007804, allocations: 73.16 kB / 0.7799 GB, free: 444 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.007811, allocations: 7.938 kB / 0.7799 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.007865, allocations: 31.73 kB / 0.78 GB, free: 404 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.00788, allocations: 8.812 kB / 0.78 GB, free: 396 kB / 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.0001316/0.008012, allocations: 170.9 kB / 0.7801 GB, free: 224 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.021e-05/0.008022, allocations: 4.812 kB / 0.7801 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.008046, allocations: 5.312 kB / 0.7802 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.008049, allocations: 4.719 kB / 0.7802 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.008052, allocations: 4 kB / 0.7802 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.008055, allocations: 4.781 kB / 0.7802 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.529e-05/0.00814, allocations: 89.64 kB / 0.7802 GB, free: 96 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008142, allocations: 1.094 kB / 0.7803 GB, free: 96 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.414e-05/0.008156, allocations: 4 kB / 0.7803 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.008158, allocations: 0 / 0.7803 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.008163, allocations: 1.781 kB / 0.7803 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.008165, allocations: 0 / 0.7803 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.008166, allocations: 0 / 0.7803 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001966/0.008363, allocations: 196.4 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.623e-05/0.008379, allocations: 19.84 kB / 0.7805 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.008408, allocations: 21.08 kB / 0.7805 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.402e-05/0.008422, allocations: 0 / 0.7805 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.00844, allocations: 4 kB / 0.7805 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.008446, allocations: 1.031 kB / 0.7805 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.597e-05/0.008461, allocations: 16.83 kB / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008462, allocations: 0 / 0.7805 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002148/0.008676, allocations: 45.5 kB / 0.7805 GB, free: 15.77 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.0004151/0.009091, allocations: 216.6 kB / 0.7808 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.009284, allocations: 144 kB / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.009287, allocations: 0 / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.885e-05/0.009325, allocations: 41.77 kB / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.671e-05/0.009402, allocations: 11.92 kB / 0.7809 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.009654, allocations: 238.6 kB / 0.7812 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.563e-05/0.00969, allocations: 74.59 kB / 0.7812 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.009722, allocations: 12.64 kB / 0.7813 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.009757, allocations: 59.38 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.009758, allocations: 0 / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of Templates: time 0.003176/0.01293, allocations: 1.713 MB / 0.783 GB, free: 13.35 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.835095503367484]