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.001462/0.001462, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001869/0.001869, allocations: 165.4 kB / 24.17 MB, free: 332 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 1.044/1.044, allocations: 177.1 MB / 204.6 MB, free: 5.48 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.97/1.97, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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.573e-06/1.573e-06, allocations: 0 / 0.7752 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.839e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001921/0.00194, allocations: 1.319 MB / 0.7764 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007034/0.002643, allocations: 376.7 kB / 0.7768 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.002675, allocations: 2.438 kB / 0.7768 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.648e-05/0.002761, allocations: 4.594 kB / 0.7768 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.328e-05/0.002785, allocations: 0.6562 kB / 0.7768 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.003228, allocations: 93.22 kB / 0.7769 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 9.22e-05/0.00332, allocations: 22.38 kB / 0.7769 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.003358, allocations: 7.984 kB / 0.7769 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.003398, allocations: 6.219 kB / 0.7769 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.469e-05/0.003423, allocations: 8.859 kB / 0.7769 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.003436, allocations: 0 / 0.7769 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.003665, allocations: 132.3 kB / 0.7771 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.003707, allocations: 25.88 kB / 0.7771 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.003734, allocations: 12.47 kB / 0.7771 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.003905, allocations: 128.6 kB / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.003907, allocations: 0 / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003907, allocations: 0 / 0.7772 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.003912, allocations: 0.9062 kB / 0.7772 GB, free: 3.336 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.000364/0.004276, allocations: 335 kB / 0.7775 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.004314, allocations: 9.844 kB / 0.7776 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.004393, allocations: 13.67 kB / 0.7776 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.874e-05/0.004492, allocations: 117.6 kB / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.00451, allocations: 6.625 kB / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.004517, allocations: 384 / 0.7777 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.861e-05/0.004615, allocations: 88.67 kB / 0.7778 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.004623, allocations: 192 / 0.7778 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.004629, allocations: 384 / 0.7778 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.78e-06/0.004635, allocations: 384 / 0.7778 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.836e-05/0.004663, allocations: 31.22 kB / 0.7778 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.619e-05/0.004759, allocations: 83.56 kB / 0.7779 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.297e-05/0.004822, allocations: 38.58 kB / 0.7779 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.004851, allocations: 24.86 kB / 0.7779 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.004859, allocations: 0 / 0.7779 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.005002, allocations: 104.2 kB / 0.778 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.192e-06/0.005004, allocations: 10.75 kB / 0.7781 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0002291/0.005233, allocations: 202.9 kB / 0.7782 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.005288, allocations: 91.31 kB / 0.7783 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.938e-05/0.005357, allocations: 118.6 kB / 0.7784 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.005387, allocations: 49.69 kB / 0.7785 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.005418, allocations: 80.8 kB / 0.7786 GB, free: 1.824 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.42e-05/0.005483, allocations: 107.2 kB / 0.7787 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.005549, allocations: 78.75 kB / 0.7788 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.005651, allocations: 342.7 kB / 0.7791 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.961e-05/0.005701, allocations: 51.47 kB / 0.7791 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.005781, allocations: 109.9 kB / 0.7792 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.005954, allocations: 216.8 kB / 0.7794 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.005958, allocations: 4.906 kB / 0.7794 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0002428/0.006201, allocations: 251.7 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.006215, allocations: 8 kB / 0.7797 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.006222, allocations: 0 / 0.7797 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.006236, allocations: 4.719 kB / 0.7797 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.006399, allocations: 71.91 kB / 0.7798 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.006406, allocations: 4.531 kB / 0.7798 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.692e-05/0.006443, allocations: 29.42 kB / 0.7798 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.006456, allocations: 15.94 kB / 0.7798 GB, free: 0.5039 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.0001167/0.006573, allocations: 166.3 kB / 0.78 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.006581, allocations: 0.9375 kB / 0.78 GB, free: 348 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.006609, allocations: 21.47 kB / 0.78 GB, free: 328 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.006614, allocations: 8.516 kB / 0.78 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.006616, allocations: 0 / 0.78 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.006619, allocations: 1.656 kB / 0.78 GB, free: 320 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.431e-05/0.006704, allocations: 85.66 kB / 0.7801 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.006705, allocations: 0 / 0.7801 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-06/0.006712, allocations: 0 / 0.7801 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.006715, allocations: 5.25 kB / 0.7801 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.006721, allocations: 3.984 kB / 0.7801 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006722, allocations: 0 / 0.7801 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006723, allocations: 0 / 0.7801 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.006875, allocations: 185 kB / 0.7803 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.006903, allocations: 19.83 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.006928, allocations: 25.14 kB / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-06/0.006938, allocations: 0 / 0.7803 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.006958, allocations: 3.984 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.006962, allocations: 1.031 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.174e-05/0.006974, allocations: 12.8 kB / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006974, allocations: 0 / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001695/0.007143, allocations: 49.25 kB / 0.7804 GB, free: 15.89 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.0003785/0.007522, allocations: 215.3 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002079/0.00773, allocations: 151.9 kB / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.007732, allocations: 0 / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.896e-05/0.007771, allocations: 45.48 kB / 0.7808 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.41e-05/0.007856, allocations: 14.69 kB / 0.7808 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.008188, allocations: 233.4 kB / 0.781 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.758e-05/0.008235, allocations: 71.84 kB / 0.7811 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.21e-05/0.008267, allocations: 12.64 kB / 0.7811 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.951e-05/0.008317, allocations: 62.38 kB / 0.7811 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of SimCode: time 5.1e-07/0.008317, allocations: 0 / 0.7811 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.003545/0.01186, allocations: 1.7 MB / 0.7828 GB, free: 13.48 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.046416807454079]