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.0009047/0.0009047, allocations: 85.45 kB / 21.62 MB, free: 2.836 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.001573/0.001573, allocations: 171.1 kB / 25.05 MB, free: 8.793 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 1.008/1.008, allocations: 177.1 MB / 205.5 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.904/1.904, allocations: 389.6 MB / 0.6363 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.753e-06/1.753e-06, allocations: 0 / 0.7761 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.403e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002899/0.002923, allocations: 1.305 MB / 0.7774 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008473/0.003771, allocations: 385 kB / 0.7777 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.003808, allocations: 0.9844 kB / 0.7777 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.003915, allocations: 4.781 kB / 0.7777 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.768e-05/0.003942, allocations: 0.5469 kB / 0.7777 GB, free: 3.68 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.004489, allocations: 98.78 kB / 0.7778 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.059e-05/0.00457, allocations: 14.52 kB / 0.7779 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.004607, allocations: 3.984 kB / 0.7779 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.368e-05/0.004651, allocations: 17.06 kB / 0.7779 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.689e-05/0.004678, allocations: 5.594 kB / 0.7779 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.004691, allocations: 0.75 kB / 0.7779 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.004994, allocations: 131.7 kB / 0.778 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.00504, allocations: 25.58 kB / 0.778 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.005068, allocations: 8.594 kB / 0.778 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.005285, allocations: 129.9 kB / 0.7782 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.005287, allocations: 0 / 0.7782 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.21e-07/0.005288, allocations: 2.75 kB / 0.7782 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.005292, allocations: 4 kB / 0.7782 GB, free: 3.27 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.0004102/0.005703, allocations: 331.1 kB / 0.7785 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.005745, allocations: 9.344 kB / 0.7785 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.765e-05/0.005843, allocations: 8.922 kB / 0.7785 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.005954, allocations: 117.6 kB / 0.7786 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.005971, allocations: 11.94 kB / 0.7786 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.005982, allocations: 384 / 0.7786 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.006109, allocations: 88.67 kB / 0.7787 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.006117, allocations: 192 / 0.7787 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.006125, allocations: 384 / 0.7787 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.006131, allocations: 384 / 0.7787 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.384e-05/0.006165, allocations: 28.52 kB / 0.7787 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001013/0.006266, allocations: 79.56 kB / 0.7788 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.935e-05/0.006336, allocations: 42.52 kB / 0.7789 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.006367, allocations: 29.48 kB / 0.7789 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.006375, allocations: 4 kB / 0.7789 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.006517, allocations: 101.3 kB / 0.779 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.262e-06/0.006518, allocations: 0 / 0.779 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0002704/0.006788, allocations: 215.9 kB / 0.7792 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.006857, allocations: 83.31 kB / 0.7793 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.603e-05/0.006933, allocations: 122.6 kB / 0.7794 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.006972, allocations: 50.19 kB / 0.7794 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.007005, allocations: 89.64 kB / 0.7795 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.357e-05/0.007089, allocations: 99.27 kB / 0.7796 GB, free: 1.652 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.007179, allocations: 82.92 kB / 0.7797 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.007283, allocations: 338.7 kB / 0.78 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.007354, allocations: 55.47 kB / 0.7801 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.007459, allocations: 109.3 kB / 0.7802 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.007684, allocations: 213.1 kB / 0.7804 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.007687, allocations: 5.531 kB / 0.7804 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0003065/0.007994, allocations: 250.3 kB / 0.7806 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.00801, allocations: 4.562 kB / 0.7806 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.008018, allocations: 4 kB / 0.7806 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.008029, allocations: 5.312 kB / 0.7806 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.008255, allocations: 71.91 kB / 0.7807 GB, free: 496 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.008261, allocations: 3.984 kB / 0.7807 GB, free: 492 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.008327, allocations: 33.14 kB / 0.7807 GB, free: 460 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.008345, allocations: 15.94 kB / 0.7808 GB, free: 444 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.0001485/0.008493, allocations: 163.5 kB / 0.7809 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.008509, allocations: 7.984 kB / 0.7809 GB, free: 272 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.008541, allocations: 5.312 kB / 0.7809 GB, free: 268 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.008545, allocations: 9.062 kB / 0.7809 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.008547, allocations: 0 / 0.7809 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.008551, allocations: 0 / 0.7809 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.948e-05/0.00865, allocations: 82.64 kB / 0.781 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.008653, allocations: 0 / 0.781 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.008671, allocations: 3.938 kB / 0.781 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.008675, allocations: 5.078 kB / 0.781 GB, free: 152 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.008682, allocations: 4 kB / 0.781 GB, free: 148 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.008684, allocations: 5.125 kB / 0.781 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008685, allocations: 0 / 0.781 GB, free: 144 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.008912, allocations: 188.2 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.00893, allocations: 19.84 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.008962, allocations: 21.19 kB / 0.7812 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.008983, allocations: 4 kB / 0.7812 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.009004, allocations: 3.984 kB / 0.7813 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.009009, allocations: 1.094 kB / 0.7813 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.438e-05/0.009024, allocations: 8.859 kB / 0.7813 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.009024, allocations: 0 / 0.7813 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002411/0.009265, allocations: 53.3 kB / 0.7813 GB, free: 15.82 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.0004223/0.009687, allocations: 223.2 kB / 0.7815 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.009908, allocations: 146.1 kB / 0.7817 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.009913, allocations: 4 kB / 0.7817 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.728e-05/0.009961, allocations: 44.78 kB / 0.7817 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.777e-05/0.01004, allocations: 3.938 kB / 0.7817 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.01037, allocations: 237.4 kB / 0.7819 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.791e-05/0.01042, allocations: 73.41 kB / 0.782 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.01045, allocations: 12.64 kB / 0.782 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.0105, allocations: 63.38 kB / 0.7821 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.0105, allocations: 3.25 kB / 0.7821 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of Templates: time 0.004995/0.0155, allocations: 1.705 MB / 0.7838 GB, free: 13.41 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.931876962073147]