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.002598/0.002598, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.003109/0.003109, allocations: 177.2 kB / 23.24 MB, free: 1.32 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.571/1.571, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.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.2/3.2, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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 1.904e-06/1.904e-06, allocations: 0 / 1.001 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.268e-05/2.459e-05, allocations: 2.281 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002346/0.002371, allocations: 1.231 MB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.00338, allocations: 367.6 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.003416, allocations: 0 / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.225e-05/0.003498, allocations: 11.88 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.628e-05/0.003514, allocations: 3.984 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.004074, allocations: 99.58 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.004181, allocations: 19.91 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.004225, allocations: 4 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.864e-05/0.004274, allocations: 15.92 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.616e-05/0.00431, allocations: 7.984 kB / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.004328, allocations: 0 / 1.003 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.004659, allocations: 119.8 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.184e-05/0.00472, allocations: 23.92 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.00477, allocations: 19.86 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.005091, allocations: 119.6 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.005094, allocations: 0 / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.523e-06/0.005096, allocations: 4 kB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.005101, allocations: 0 / 1.003 GB, free: 11.03 MB / 0.9636 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.0006565/0.005757, allocations: 356.4 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.005808, allocations: 13.34 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.00595, allocations: 12.84 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.0061, allocations: 121.7 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.006122, allocations: 384 / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.006135, allocations: 8.375 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.006362, allocations: 143 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.006371, allocations: 192 / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.006384, allocations: 4.375 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.006388, allocations: 384 / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.845e-05/0.006476, allocations: 67.91 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.006653, allocations: 121.1 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.006789, allocations: 90.47 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.759e-05/0.006876, allocations: 68.88 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.006887, allocations: 3.938 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.007152, allocations: 175.4 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 1.172e-06/0.007153, allocations: 0 / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.0009484/0.008101, allocations: 405.8 kB / 1.005 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.008186, allocations: 87.38 kB / 1.005 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.008296, allocations: 117.7 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.008353, allocations: 57.67 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.008408, allocations: 84.78 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.767e-05/0.008506, allocations: 87.38 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.008622, allocations: 89.69 kB / 1.005 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.008802, allocations: 334.8 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.009011, allocations: 148.6 kB / 1.006 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.009277, allocations: 217 kB / 1.006 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.009798, allocations: 405.2 kB / 1.006 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.009801, allocations: 0 / 1.006 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006211/0.01042, allocations: 438.6 kB / 1.007 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.01044, allocations: 8 kB / 1.007 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.01045, allocations: 0 / 1.007 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.01046, allocations: 4 kB / 1.007 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.01056, allocations: 19.92 kB / 1.007 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.01058, allocations: 7.938 kB / 1.007 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.453e-05/0.01065, allocations: 43.61 kB / 1.007 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.01067, allocations: 12 kB / 1.007 GB, free: 7.137 MB / 0.9636 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.0002008/0.01087, allocations: 181.8 kB / 1.007 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.621e-05/0.01089, allocations: 7.953 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.01091, allocations: 9.312 kB / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.01092, allocations: 0 / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.01092, allocations: 0 / 1.007 GB, free: 6.934 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.01093, allocations: 7.922 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.01106, allocations: 121.1 kB / 1.007 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.01107, allocations: 4 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.347e-05/0.01108, allocations: 4 kB / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.01108, allocations: 0 / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.01109, allocations: 0 / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.01109, allocations: 7.922 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01109, allocations: 0 / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004352/0.01153, allocations: 339 kB / 1.007 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.01155, allocations: 15.89 kB / 1.007 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.01158, allocations: 23.98 kB / 1.007 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.778e-05/0.0116, allocations: 4 kB / 1.007 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.01162, allocations: 3.984 kB / 1.007 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.01163, allocations: 4 kB / 1.007 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.152e-05/0.01168, allocations: 83.22 kB / 1.007 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.01168, allocations: 0 / 1.007 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000291/0.01197, allocations: 51.92 kB / 1.007 GB, free: 6.227 MB / 0.9636 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.0005479/0.01252, allocations: 232.8 kB / 1.008 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004098/0.01293, allocations: 261 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01293, allocations: 0 / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.752e-05/0.01303, allocations: 75.91 kB / 1.008 GB, free: 5.68 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.01317, allocations: 4 kB / 1.008 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.01364, allocations: 283.9 kB / 1.008 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.01376, allocations: 105.2 kB / 1.008 GB, free: 5.254 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.888e-05/0.01379, allocations: 16.64 kB / 1.008 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.01382, allocations: 12.5 kB / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.01382, allocations: 0 / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of Templates: time 0.005086/0.01891, allocations: 1.56 MB / 1.01 GB, free: 3.695 MB / 0.9636 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: 8.983803702518344]