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.0009834/0.0009834, allocations: 80.88 kB / 20.75 MB, free: 3.578 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.001711/0.001711, allocations: 165 kB / 24.17 MB, free: 168 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.9534/0.9534, allocations: 177.1 MB / 204.6 MB, free: 5.105 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.874/1.874, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.443e-06/1.443e-06, allocations: 0 / 0.7751 GB, free: 5.473 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.664e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.00149/0.001506, allocations: 1.265 MB / 0.7763 GB, free: 4.211 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0005725/0.002079, allocations: 381 kB / 0.7767 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.002105, allocations: 0 / 0.7767 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.136e-05/0.002176, allocations: 8.594 kB / 0.7767 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.54e-05/0.002201, allocations: 5.297 kB / 0.7767 GB, free: 3.828 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.002583, allocations: 100.4 kB / 0.7768 GB, free: 3.73 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.62e-05/0.002649, allocations: 21.47 kB / 0.7768 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.89e-05/0.002678, allocations: 0 / 0.7768 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.743e-05/0.002715, allocations: 12.86 kB / 0.7769 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.397e-05/0.002739, allocations: 12.84 kB / 0.7769 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.002751, allocations: 0 / 0.7769 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.002923, allocations: 119.7 kB / 0.777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.074e-05/0.002964, allocations: 24.23 kB / 0.777 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.002986, allocations: 14.34 kB / 0.777 GB, free: 3.547 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.003133, allocations: 121.1 kB / 0.7771 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.003136, allocations: 4 kB / 0.7771 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003137, allocations: 0 / 0.7771 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.00314, allocations: 0 / 0.7771 GB, free: 3.43 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.0003139/0.003454, allocations: 333.2 kB / 0.7775 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.003485, allocations: 13.34 kB / 0.7775 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.003549, allocations: 9.922 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.365e-05/0.003622, allocations: 117.6 kB / 0.7776 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.003636, allocations: 4.375 kB / 0.7776 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.003646, allocations: 4.969 kB / 0.7776 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.78e-05/0.003744, allocations: 85.33 kB / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.00375, allocations: 0.9062 kB / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.003758, allocations: 4.375 kB / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.003763, allocations: 5.859 kB / 0.7777 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.705e-05/0.00379, allocations: 28.47 kB / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.48e-05/0.003865, allocations: 75.58 kB / 0.7778 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.049e-05/0.003915, allocations: 47.62 kB / 0.7778 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.403e-05/0.003939, allocations: 28.86 kB / 0.7779 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.003948, allocations: 5.094 kB / 0.7779 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.515e-05/0.004043, allocations: 100.1 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 9.31e-07/0.004044, allocations: 0.9688 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0002035/0.004248, allocations: 202.9 kB / 0.7782 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.004306, allocations: 87.31 kB / 0.7782 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.004381, allocations: 127.5 kB / 0.7784 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-05/0.004452, allocations: 49.67 kB / 0.7784 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.004482, allocations: 86.23 kB / 0.7785 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.175e-05/0.004543, allocations: 95.25 kB / 0.7786 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-05/0.00461, allocations: 85.62 kB / 0.7787 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.004701, allocations: 342.7 kB / 0.779 GB, free: 1.383 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.004748, allocations: 52.12 kB / 0.779 GB, free: 1.332 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.157e-05/0.00482, allocations: 105.3 kB / 0.7791 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.004968, allocations: 217.3 kB / 0.7793 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.004971, allocations: 0 / 0.7793 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002849/0.005256, allocations: 259.7 kB / 0.7796 GB, free: 0.7227 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.005268, allocations: 6.5 kB / 0.7796 GB, free: 0.7188 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.005274, allocations: 4 kB / 0.7796 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.005284, allocations: 0 / 0.7796 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.005428, allocations: 68.69 kB / 0.7797 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.005433, allocations: 7.984 kB / 0.7797 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.724e-05/0.005471, allocations: 32.61 kB / 0.7797 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.005483, allocations: 15.94 kB / 0.7797 GB, free: 0.5938 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.0001001/0.005583, allocations: 167.2 kB / 0.7799 GB, free: 440 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.00559, allocations: 4.516 kB / 0.7799 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.005612, allocations: 10.25 kB / 0.7799 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.005614, allocations: 240 / 0.7799 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.005615, allocations: 4.938 kB / 0.7799 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.00562, allocations: 3.984 kB / 0.7799 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.544e-05/0.005685, allocations: 77.67 kB / 0.78 GB, free: 324 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.005689, allocations: 8.938 kB / 0.78 GB, free: 316 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-06/0.005696, allocations: 3.984 kB / 0.78 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.005697, allocations: 1 kB / 0.78 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-06/0.005701, allocations: 0 / 0.78 GB, free: 312 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.81e-07/0.005701, allocations: 3.938 kB / 0.78 GB, free: 308 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.005703, allocations: 4.844 kB / 0.78 GB, free: 304 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.005838, allocations: 188.2 kB / 0.7802 GB, free: 92 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.005849, allocations: 21.53 kB / 0.7802 GB, free: 72 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.005869, allocations: 19.98 kB / 0.7802 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-06/0.005878, allocations: 0 / 0.7802 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.005896, allocations: 11.92 kB / 0.7802 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.005899, allocations: 0 / 0.7802 GB, free: 40 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.099e-05/0.00591, allocations: 11.61 kB / 0.7802 GB, free: 28 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00591, allocations: 0 / 0.7802 GB, free: 28 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001658/0.006076, allocations: 47.92 kB / 0.7803 GB, free: 15.98 MB / 0.7449 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.000276/0.006352, allocations: 204 kB / 0.7805 GB, free: 15.8 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.006493, allocations: 147.9 kB / 0.7806 GB, free: 15.65 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.006495, allocations: 1.031 kB / 0.7806 GB, free: 15.65 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 2.982e-05/0.006525, allocations: 40.83 kB / 0.7807 GB, free: 15.61 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.89e-05/0.006584, allocations: 19.69 kB / 0.7807 GB, free: 15.59 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002311/0.006815, allocations: 237.4 kB / 0.7809 GB, free: 15.33 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.486e-05/0.00685, allocations: 72.94 kB / 0.781 GB, free: 15.24 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.444e-05/0.006875, allocations: 12.64 kB / 0.781 GB, free: 15.23 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.006907, allocations: 60.91 kB / 0.781 GB, free: 15.17 MB / 0.7449 GB Notification: Performance of SimCode: time 6.51e-07/0.006908, allocations: 0 / 0.781 GB, free: 15.17 MB / 0.7449 GB Notification: Performance of Templates: time 0.003104/0.01001, allocations: 1.711 MB / 0.7827 GB, free: 13.57 MB / 0.7449 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.894404518883675]