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.001872/0.001872, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 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.002135/0.002135, allocations: 213.8 kB / 23.02 MB, free: 2.957 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.691/1.691, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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 3.334/3.334, allocations: 0.5045 GB / 0.8104 GB, free: 2.789 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.004399/0.004399, allocations: 76.12 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.005, allocations: 180 MB / 1.353 GB, free: 1.602 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002909/1.008, allocations: 1.244 MB / 1.354 GB, free: 356 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0009901/1.009, allocations: 366.9 kB / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/1.009, allocations: 0 / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 8.989e-05/1.009, allocations: 0 / 1.354 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 2.094e-05/1.009, allocations: 3.938 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/1.009, allocations: 103.7 kB / 1.355 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.401e-05/1.009, allocations: 23.86 kB / 1.355 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.469e-05/1.009, allocations: 0 / 1.355 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.511e-05/1.009, allocations: 11.98 kB / 1.355 GB, free: 15.85 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.923e-05/1.009, allocations: 7.922 kB / 1.355 GB, free: 15.84 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/1.009, allocations: 4 kB / 1.355 GB, free: 15.84 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/1.01, allocations: 119.8 kB / 1.355 GB, free: 15.72 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 5.01e-05/1.01, allocations: 23.92 kB / 1.355 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/1.01, allocations: 15.81 kB / 1.355 GB, free: 15.68 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/1.01, allocations: 126.2 kB / 1.355 GB, free: 15.56 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.01, allocations: 0 / 1.355 GB, free: 15.56 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.513e-06/1.01, allocations: 0 / 1.355 GB, free: 15.56 MB / 1.042 GB Notification: Performance of Transformations before backend: time 4.949e-06/1.01, allocations: 0 / 1.355 GB, free: 15.56 MB / 1.042 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.0005311/1.011, allocations: 364.5 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.011, allocations: 12.92 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.32e-05/1.011, allocations: 12.84 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/1.011, allocations: 122.4 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/1.011, allocations: 4.359 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/1.011, allocations: 4.375 kB / 1.355 GB, free: 14.99 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/1.011, allocations: 143 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/1.011, allocations: 192 / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/1.011, allocations: 7.938 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/1.011, allocations: 0 / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.677e-05/1.011, allocations: 59.97 kB / 1.356 GB, free: 14.78 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/1.011, allocations: 121.1 kB / 1.356 GB, free: 14.63 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/1.011, allocations: 82.55 kB / 1.356 GB, free: 14.54 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.886e-05/1.012, allocations: 76.88 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/1.012, allocations: 0 / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/1.012, allocations: 171.1 kB / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of pre-optimization done (n=37): time 1.082e-06/1.012, allocations: 0 / 1.356 GB, free: 14.28 MB / 1.042 GB Notification: Performance of matching and sorting (n=37): time 0.0006268/1.012, allocations: 413.7 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/1.013, allocations: 87.36 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/1.013, allocations: 117.8 kB / 1.357 GB, free: 13.65 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/1.013, allocations: 49.69 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.24e-05/1.013, allocations: 88.78 kB / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/1.013, allocations: 99.3 kB / 1.357 GB, free: 13.41 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/1.013, allocations: 93.47 kB / 1.357 GB, free: 13.31 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002036/1.013, allocations: 342.8 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/1.013, allocations: 140.6 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/1.014, allocations: 205.3 kB / 1.358 GB, free: 12.6 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/1.014, allocations: 409.2 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.014, allocations: 0 / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00062/1.015, allocations: 442.5 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.015, allocations: 4 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.015, allocations: 4 kB / 1.358 GB, free: 11.74 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/1.015, allocations: 7.938 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/1.015, allocations: 19.92 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/1.015, allocations: 4 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.613e-05/1.015, allocations: 31.73 kB / 1.358 GB, free: 11.68 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/1.015, allocations: 8 kB / 1.358 GB, free: 11.67 MB / 1.042 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.0002024/1.015, allocations: 185.8 kB / 1.359 GB, free: 11.48 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.112e-05/1.015, allocations: 11.91 kB / 1.359 GB, free: 11.47 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/1.015, allocations: 13.25 kB / 1.359 GB, free: 11.46 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.015, allocations: 0 / 1.359 GB, free: 11.46 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.015, allocations: 0 / 1.359 GB, free: 11.46 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/1.015, allocations: 4 kB / 1.359 GB, free: 11.46 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/1.015, allocations: 121.2 kB / 1.359 GB, free: 11.31 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.015, allocations: 0 / 1.359 GB, free: 11.31 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/1.015, allocations: 3.938 kB / 1.359 GB, free: 11.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/1.015, allocations: 4 kB / 1.359 GB, free: 11.3 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/1.016, allocations: 0 / 1.359 GB, free: 11.3 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.016, allocations: 7.875 kB / 1.359 GB, free: 11.29 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.016, allocations: 0 / 1.359 GB, free: 11.29 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004356/1.016, allocations: 331.2 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.974e-05/1.016, allocations: 15.84 kB / 1.359 GB, free: 10.93 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/1.016, allocations: 27.98 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.83e-05/1.016, allocations: 7.938 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/1.016, allocations: 7.984 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/1.016, allocations: 0 / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.297e-05/1.016, allocations: 79.28 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/1.016, allocations: 0 / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002902/1.016, allocations: 47.94 kB / 1.359 GB, free: 10.77 MB / 1.042 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.0005311/1.017, allocations: 225.8 kB / 1.359 GB, free: 10.55 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000407/1.017, allocations: 265 kB / 1.36 GB, free: 10.29 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.017, allocations: 4 kB / 1.36 GB, free: 10.29 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.23e-05/1.017, allocations: 75.91 kB / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/1.018, allocations: 4 kB / 1.36 GB, free: 10.21 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/1.018, allocations: 291.8 kB / 1.36 GB, free: 9.902 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/1.018, allocations: 97.19 kB / 1.36 GB, free: 9.789 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.379e-05/1.018, allocations: 20.62 kB / 1.36 GB, free: 9.77 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/1.018, allocations: 11.44 kB / 1.36 GB, free: 9.758 MB / 1.042 GB Notification: Performance of SimCode: time 4.21e-07/1.018, allocations: 0 / 1.36 GB, free: 9.758 MB / 1.042 GB Notification: Performance of Templates: time 0.00519/1.023, allocations: 1.582 MB / 1.362 GB, free: 8.199 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.39830424822867]